Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3113)

Unified Diff: chrome/browser/search_engines/search_provider_install_data.cc

Issue 10458077: When the Google base URL changes and causes keyword updates, save those to the database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/search_provider_install_data.cc
===================================================================
--- chrome/browser/search_engines/search_provider_install_data.cc (revision 139570)
+++ chrome/browser/search_engines/search_provider_install_data.cc (working copy)
@@ -13,6 +13,7 @@
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop_helpers.h"
+#include "chrome/browser/google/google_url_tracker.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/search_host_to_urls_map.h"
#include "chrome/browser/search_engines/search_terms_data.h"
@@ -133,7 +134,8 @@
if (type == chrome::NOTIFICATION_GOOGLE_URL_UPDATED) {
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
base::Bind(&GoogleURLChangeNotifier::OnChange, change_notifier_.get(),
- content::Details<const GURL>(details)->spec()));
+ content::Details<GoogleURLTracker::UpdatedDetails>(details)->second.
+ spec()));
} else {
// This must be the death notification.
delete this;

Powered by Google App Engine
This is Rietveld 408576698