summaryrefslogtreecommitdiffstats
path: root/ui/app_list
diff options
context:
space:
mode:
authortfarina <tfarina@chromium.org>2015-03-02 13:01:34 -0800
committerCommit bot <commit-bot@chromium.org>2015-03-02 21:02:02 +0000
commit5d9e90918f4215d63eb9706df76b648e33b68c04 (patch)
tree325ab3f81bc1dc640ad38403f57a1e89e4356f13 /ui/app_list
parent83ea2c94c4119fede083bde0e2fdab37b31ddb8e (diff)
downloadchromium_src-5d9e90918f4215d63eb9706df76b648e33b68c04.zip
chromium_src-5d9e90918f4215d63eb9706df76b648e33b68c04.tar.gz
chromium_src-5d9e90918f4215d63eb9706df76b648e33b68c04.tar.bz2
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}
Diffstat (limited to 'ui/app_list')
-rw-r--r--ui/app_list/PRESUBMIT.py2
-rw-r--r--ui/app_list/views/search_result_page_view.cc2
-rw-r--r--ui/app_list/views/start_page_view.cc2
3 files changed, 5 insertions, 1 deletions
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 <algorithm>
+
#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 <string>
+
#include "base/i18n/rtl.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/utf_string_conversions.h"