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

Unified Diff: components/suggestions/suggestions_service.h

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
« no previous file with comments | « components/search_engines/template_url_service.h ('k') | components/suggestions/suggestions_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/suggestions/suggestions_service.h
diff --git a/components/suggestions/suggestions_service.h b/components/suggestions/suggestions_service.h
index 5b118e11d2a62c80503d63e46b964bf57d0ecd97..8118aa4769bf34a63badc03560fcb3c098bcf0c9 100644
--- a/components/suggestions/suggestions_service.h
+++ b/components/suggestions/suggestions_service.h
@@ -24,25 +24,25 @@
#include "net/url_request/url_fetcher_delegate.h"
#include "url/gurl.h"
-class OAuth2TokenService;
-class SigninManagerBase;
-
namespace gfx {
class Image;
-} // namespce gfx
+}
namespace net {
class URLRequestContextGetter;
} // namespace net
-namespace syncer {
+namespace sync_driver {
class SyncService;
-} // namespace syncer
+}
namespace user_prefs {
class PrefRegistrySyncable;
} // namespace user_prefs
+class OAuth2TokenService;
+class SigninManagerBase;
+
namespace suggestions {
class BlacklistStore;
@@ -52,7 +52,7 @@ class SuggestionsStore;
// An interface to fetch server suggestions asynchronously.
class SuggestionsService : public KeyedService,
public net::URLFetcherDelegate,
- public syncer::SyncServiceObserver {
+ public sync_driver::SyncServiceObserver {
public:
using ResponseCallback = base::Callback<void(const SuggestionsProfile&)>;
using BitmapCallback = base::Callback<void(const GURL&, const gfx::Image&)>;
@@ -62,7 +62,7 @@ class SuggestionsService : public KeyedService,
SuggestionsService(const SigninManagerBase* signin_manager,
OAuth2TokenService* token_service,
- syncer::SyncService* sync_service,
+ sync_driver::SyncService* sync_service,
net::URLRequestContextGetter* url_request_context,
std::unique_ptr<SuggestionsStore> suggestions_store,
std::unique_ptr<ImageManager> thumbnail_manager,
@@ -137,7 +137,7 @@ class SuggestionsService : public KeyedService,
static GURL BuildSuggestionsBlacklistURL(const GURL& candidate_url);
static GURL BuildSuggestionsBlacklistClearURL();
- // syncer::SyncServiceObserver implementation.
+ // sync_driver::SyncServiceObserver implementation.
void OnStateChanged() override;
// Sets default timestamp for suggestions which do not have expiry timestamp.
@@ -188,8 +188,8 @@ class SuggestionsService : public KeyedService,
base::ThreadChecker thread_checker_;
- syncer::SyncService* sync_service_;
- ScopedObserver<syncer::SyncService, syncer::SyncServiceObserver>
+ sync_driver::SyncService* sync_service_;
+ ScopedObserver<sync_driver::SyncService, sync_driver::SyncServiceObserver>
sync_service_observer_;
net::URLRequestContextGetter* url_request_context_;
« no previous file with comments | « components/search_engines/template_url_service.h ('k') | components/suggestions/suggestions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698