|
Move the URL string from TemplateURLRef onto the owning TemplateURL. This will make it easier to move the data members of TemplateURL into a new class later.
This changes the accessors for TemplateURL's TemplateURLRefs. There are now separate accessors for the URLs as strings and as TemplateURLRefs, and the latter have changed to returning a const ref, meaning they no longer return NULL when the corresponding URL string is empty. This makes a number of callers clearer.
BUG=none
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=130431
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+676 lines, -751 lines) |
Patch |
 |
M |
chrome/browser/autocomplete/autocomplete_edit.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/keyword_provider.cc
|
View
|
1
2
3
|
4 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/search_provider.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/search_provider.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/search_provider_unittest.cc
|
View
|
1
2
3
|
8 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/testing_automation_provider.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_browser_main.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/importer/firefox_importer_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/importer/firefox_importer_utils.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/importer/profile_import_process_messages.h
|
View
|
1
2
3
|
3 chunks |
+26 lines, -43 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/importer/profile_writer.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/instant/instant_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/instant/instant_controller.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/instant/instant_loader.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/omnibox_search_hint.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/policy/configuration_policy_handler.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/protector/default_search_provider_change.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/protector/default_search_provider_change_browsertest.cc
|
View
|
1
2
3
|
10 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/protector/histograms.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/search_host_to_urls_map.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url.h
|
View
|
1
2
3
|
9 chunks |
+34 lines, -41 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url.cc
|
View
|
1
2
3
|
14 chunks |
+63 lines, -59 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_fetcher.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_fetcher_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_parser.cc
|
View
|
1
2
3
|
3 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_parser_unittest.cc
|
View
|
1
2
3
|
7 chunks |
+18 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_service.cc
|
View
|
1
2
3
|
17 chunks |
+39 lines, -52 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_service_sync_unittest.cc
|
View
|
1
2
3
|
16 chunks |
+206 lines, -170 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_service_unittest.cc
|
View
|
1
2
3
|
14 chunks |
+29 lines, -36 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_unittest.cc
|
View
|
1
2
3
|
14 chunks |
+126 lines, -136 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/integration/search_engines_helper.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/integration/two_client_search_engines_sync_test.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_init.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/edit_search_engine_dialog.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search_engines/edit_search_engine_controller.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search_engines/keyword_editor_controller.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search_engines/template_url_table_model.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/edit_search_engine_dialog.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options2/search_engine_manager_handler2.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/keyword_table.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/keyword_table_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+10 lines, -26 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|