summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2015-07-21 01:26:32 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-21 08:27:12 +0000
commit33f8219a1c8f71c7781b0b9641b259482245b9c3 (patch)
treef316e15ef9007faaea0ccbbf69c9a0daee502271 /ios
parentecd11011377bb533122e27f97569414ab04bea7e (diff)
downloadchromium_src-33f8219a1c8f71c7781b0b9641b259482245b9c3.zip
chromium_src-33f8219a1c8f71c7781b0b9641b259482245b9c3.tar.gz
chromium_src-33f8219a1c8f71c7781b0b9641b259482245b9c3.tar.bz2
Fix compilation when RLZ is enabled.
RLZTracker has been moved into the rlz namespace during componentization (https://codereview.chromium.org/1212163011) but those call site have not been updated. BUG=504841 Review URL: https://codereview.chromium.org/1242793003 Cr-Commit-Position: refs/heads/master@{#339628}
Diffstat (limited to 'ios')
-rw-r--r--ios/chrome/browser/search_engines/template_url_service_factory.cc4
-rw-r--r--ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc3
2 files changed, 4 insertions, 3 deletions
diff --git a/ios/chrome/browser/search_engines/template_url_service_factory.cc b/ios/chrome/browser/search_engines/template_url_service_factory.cc
index 2f95dcb..0a81cc1 100644
--- a/ios/chrome/browser/search_engines/template_url_service_factory.cc
+++ b/ios/chrome/browser/search_engines/template_url_service_factory.cc
@@ -29,8 +29,8 @@ namespace {
base::Closure GetDefaultSearchProviderChangedCallback() {
#if defined(ENABLE_RLZ)
- return base::Bind(base::IgnoreResult(&RLZTracker::RecordProductEvent),
- rlz_lib::CHROME, RLZTracker::ChromeOmnibox(),
+ return base::Bind(base::IgnoreResult(&rlz::RLZTracker::RecordProductEvent),
+ rlz_lib::CHROME, rlz::RLZTracker::ChromeOmnibox(),
rlz_lib::SET_TO_GOOGLE);
#else
return base::Closure();
diff --git a/ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc b/ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc
index 0071a0e..0bccaae 100644
--- a/ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc
+++ b/ios/chrome/browser/search_engines/ui_thread_search_terms_data.cc
@@ -67,7 +67,8 @@ base::string16 UIThreadSearchTermsData::GetRlzParameterValue(
// normally would mean that a few omnibox searches might not send the RLZ
// data but this is not really a problem (as the value will eventually be
// set and cached).
- RLZTracker::GetAccessPointRLZ(RLZTracker::ChromeOmnibox(), &rlz_string);
+ rlz::RLZTracker::GetAccessPointRLZ(rlz::RLZTracker::ChromeOmnibox(),
+ &rlz_string);
}
#endif
return rlz_string;