From 5d9e90918f4215d63eb9706df76b648e33b68c04 Mon Sep 17 00:00:00 2001 From: tfarina Date: Mon, 2 Mar 2015 13:01:34 -0800 Subject: app_list: Elevate the verbosity level to 1. This elevates it from 4 or 5 depending if it is a normal file or unit test file to 1 for everything. Used the following command line to lint the files: $ for in $(g ls-files ui/app_list/ | grep -E '.*\.(cc|h)$' | grep -v cocoa); do cpplint.py --verbose=1 $f; done BUG=None TEST=see above R=tapted@chromium.org Review URL: https://codereview.chromium.org/972463002 Cr-Commit-Position: refs/heads/master@{#318745} --- ui/app_list/PRESUBMIT.py | 2 +- ui/app_list/views/search_result_page_view.cc | 2 ++ ui/app_list/views/start_page_view.cc | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'ui/app_list') diff --git a/ui/app_list/PRESUBMIT.py b/ui/app_list/PRESUBMIT.py index 3e3d954e..73df615 100644 --- a/ui/app_list/PRESUBMIT.py +++ b/ui/app_list/PRESUBMIT.py @@ -23,7 +23,7 @@ def CheckChangeLintsClean(input_api, output_api): sources = lambda x: input_api.FilterSourceFile( x, white_list = INCLUDE_CPP_FILES_ONLY, black_list = black_list) return input_api.canned_checks.CheckChangeLintsClean( - input_api, output_api, sources, []) + input_api, output_api, sources, lint_filters=[], verbose_level=1) def CheckChangeOnUpload(input_api, output_api): results = [] diff --git a/ui/app_list/views/search_result_page_view.cc b/ui/app_list/views/search_result_page_view.cc index 04c9443..2af6d58 100644 --- a/ui/app_list/views/search_result_page_view.cc +++ b/ui/app_list/views/search_result_page_view.cc @@ -4,6 +4,8 @@ #include "ui/app_list/views/search_result_page_view.h" +#include + #include "ui/app_list/app_list_constants.h" #include "ui/app_list/app_list_switches.h" #include "ui/app_list/app_list_view_delegate.h" diff --git a/ui/app_list/views/start_page_view.cc b/ui/app_list/views/start_page_view.cc index c546b2d..401aae1 100644 --- a/ui/app_list/views/start_page_view.cc +++ b/ui/app_list/views/start_page_view.cc @@ -4,6 +4,8 @@ #include "ui/app_list/views/start_page_view.h" +#include + #include "base/i18n/rtl.h" #include "base/metrics/histogram_macros.h" #include "base/strings/utf_string_conversions.h" -- cgit v1.1