|
Reland r56483 - Monitor network change in GoogleURLTracker
It changes to fetch https://www.google.com/searchdomaincheck?format=domain&type=chrome
instead of checking http://www.google.com/ redirection.
Also show infobar if google domain has been changed to new domain and ask
user to switch new domain.
Fix Win IO Perf regressions:
- GoogleURLTracker::RequestServerCheck() is not called in headless mode
(CHROME_HEADLESS=1) nor in Chrome Frame (--chrome-frame).
Fix leaks in TestingProfile::CreateRequestContext(): 52562
- Add TestURLFetcher::set_request_context() do nothing, because TestURLFetcher
might miss to release core_->request_context_getter_.
Fix GoogleURLTracker observer removal DCHECK: 52608
- call RemoveAll(), instead of calling Remove()s
BUG= 48688, 15141, 52477, 52562, 52608
TEST=unit_tests passes
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56811
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+800 lines, -107 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/autocomplete_edit.cc
|
View
|
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google_url_tracker.h
|
View
|
|
7 chunks |
+63 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google_url_tracker.cc
|
View
|
|
5 chunks |
+232 lines, -58 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google_url_tracker_unittest.cc
|
View
|
|
1 chunk |
+443 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_model.cc
|
View
|
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/net/test_url_fetcher_factory.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/net/url_fetcher.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/net/url_fetcher_protect.h
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/testing_browser_process.h
|
View
|
|
6 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|