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

Unified Diff: chrome/browser/search_engines/search_host_to_urls_map.h

Issue 7558014: Add a URL param to indicate group selection in Instant field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Thread safe handling of Profiles Created 9 years, 4 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_host_to_urls_map.h
diff --git a/chrome/browser/search_engines/search_host_to_urls_map.h b/chrome/browser/search_engines/search_host_to_urls_map.h
index e4692fbd381e59b69b586ec625f5863c78551f89..a365a87fb9074eb858ab9d09b7d8ec63ec051427 100644
--- a/chrome/browser/search_engines/search_host_to_urls_map.h
+++ b/chrome/browser/search_engines/search_host_to_urls_map.h
@@ -13,6 +13,7 @@
#include "base/basictypes.h"
+class Profile;
class SearchTermsData;
class TemplateURL;
@@ -36,14 +37,15 @@ class SearchHostToURLsMap {
const SearchTermsData& search_terms_data);
// Removes the TemplateURL from the lookup.
- void Remove(const TemplateURL* template_url);
+ void Remove(const TemplateURL* template_url, Profile* profile);
// Updates information in an existing TemplateURL. Note: Using Remove and
// then Add separately would lead to race conditions in reading because the
// lock would be released inbetween the calls.
void Update(const TemplateURL* existing_turl,
const TemplateURL& new_values,
- const SearchTermsData& search_terms_data);
+ const SearchTermsData& search_terms_data,
+ Profile* profile);
// Updates all search providers which have a google base url.
void UpdateGoogleBaseURLs(const SearchTermsData& search_terms_data);

Powered by Google App Engine
This is Rietveld 408576698