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

Unified Diff: chrome/browser/android/contextualsearch/contextual_search_delegate.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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/android/contextualsearch/contextual_search_delegate.cc
diff --git a/chrome/browser/android/contextualsearch/contextual_search_delegate.cc b/chrome/browser/android/contextualsearch/contextual_search_delegate.cc
index 34705b36b0140b868708eb7ac40b8c645d7b1803..c00aa10772e1c58d35188ba6fb0dcfe3016d441a 100644
--- a/chrome/browser/android/contextualsearch/contextual_search_delegate.cc
+++ b/chrome/browser/android/contextualsearch/contextual_search_delegate.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/android/contextualsearch/contextual_search_delegate.h"
#include <algorithm>
-#include <utility>
#include "base/base64.h"
#include "base/command_line.h"
@@ -61,7 +60,7 @@ const int kSurroundingSizeForUI = 60;
// The version of the Contextual Cards API that we want to invoke.
const int kContextualCardsVersion = 1;
-} // namespace
+} // namespace
// URLFetcher ID, only used for tests: we only have one kind of fetcher.
const int ContextualSearchDelegate::kContextualSearchURLFetcherID = 1;
@@ -410,7 +409,7 @@ bool ContextualSearchDelegate::CanSendPageURL(
// History.
browser_sync::ProfileSyncService* service =
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile);
- syncer::SyncPrefs sync_prefs(profile->GetPrefs());
+ sync_driver::SyncPrefs sync_prefs(profile->GetPrefs());
if (service == NULL || !service->CanSyncStart() ||
!sync_prefs.GetPreferredDataTypes(syncer::UserTypes())
.Has(syncer::PROXY_TABS) ||
« no previous file with comments | « chrome/browser/android/contextualsearch/contextual_search_delegate.h ('k') | chrome/browser/android/foreign_session_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698