|
Misc. cleanup:
* Reduce indenting levels
* Align args per style guide
* Improve (or remove) comments
* Pass around TemplateURL*s where convenient and safe instead of converting
to/from keywords. This generally simplifies things slightly and will be
useful for subsequent changes that need the TemplateURL*s in more places.
* Don't handle DCHECK failure
* Nuke long-outdated disabled KeywordProvider unittest
* Attempt (and probably fail) to put SearchProvider::CreateSearchSuggestion()
args in some sort of order
* Remove using directives where they don't save lines
* Follow style guide class declaration order
* Use OVERRIDE
* Make function declaration and definition order match
* Shorten/simplify code
* Put all three IsGoogleXXX() functions that take URLs in one group
* Eliminate unnecessary #includes
* Add GetDefaultSearchURLForSearchTerms() function to c/b/search_engines/util.h
since many disparate callers want to do that (and in a subsequent change I'll
want to slightly modify how that works)
* Fix presubmit warning about mismatched braces
* Remove unnecessary ResetDefaultTemplateURL() calls from ToolbarModel tests
BUG= 249197
TEST=none
R=cpu@chromium.org, jered@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209228
Total comments: 17
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+386 lines, -469 lines) |
Patch |
 |
M |
chrome/browser/autocomplete/autocomplete_controller.cc
|
View
|
1
|
1 chunk |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/autocomplete_provider_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/keyword_provider.h
|
View
|
1
|
2 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/keyword_provider.cc
|
View
|
1
2
3
4
5
6
|
13 chunks |
+69 lines, -83 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/keyword_provider_unittest.cc
|
View
|
|
2 chunks |
+11 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/search_provider.h
|
View
|
|
1 chunk |
+19 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/search_provider.cc
|
View
|
|
3 chunks |
+13 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/search_provider_unittest.cc
|
View
|
1
2
3
|
7 chunks |
+59 lines, -59 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/zero_suggest_provider.h
|
View
|
|
1 chunk |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/zero_suggest_provider.cc
|
View
|
1
|
2 chunks |
+10 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_util.h
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_util.cc
|
View
|
1
2
3
4
|
7 chunks |
+37 lines, -40 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google/google_util_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc
|
View
|
|
2 chunks |
+5 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/search.cc
|
View
|
|
4 chunks |
+28 lines, -36 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_service.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_service.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/util.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/util.cc
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/omnibox/omnibox_controller.cc
|
View
|
|
3 chunks |
+12 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/omnibox/omnibox_edit_model.cc
|
View
|
|
3 chunks |
+31 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/startup/startup_browser_creator.cc
|
View
|
|
3 chunks |
+10 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/startup/startup_browser_creator_win.cc
|
View
|
|
2 chunks |
+4 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/toolbar_model_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_frame_win.cc
|
View
|
|
2 chunks |
+4 lines, -17 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|