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

Unified Diff: chrome/browser/ui/webui/browsing_history_handler.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
Index: chrome/browser/ui/webui/browsing_history_handler.h
diff --git a/chrome/browser/ui/webui/browsing_history_handler.h b/chrome/browser/ui/webui/browsing_history_handler.h
index 2ad459a0d770fe49e45613b29868ee1d8fae8965..5e9346af5fbad0480f0b5787e457ffbd68080fe3 100644
--- a/chrome/browser/ui/webui/browsing_history_handler.h
+++ b/chrome/browser/ui/webui/browsing_history_handler.h
@@ -8,9 +8,7 @@
#include <stdint.h>
#include <memory>
-#include <set>
#include <string>
-#include <vector>
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
@@ -43,15 +41,15 @@ class QueryResults;
struct QueryOptions;
} // namespace history
-namespace syncer {
+namespace sync_driver {
class SyncServiceObserver;
-} // namespace syncer
+} // namespace sync_driver
// The handler for Javascript messages related to the "history" view.
class BrowsingHistoryHandler : public content::WebUIMessageHandler,
public history::HistoryServiceObserver,
public history::WebHistoryServiceObserver,
- public syncer::SyncServiceObserver {
+ public sync_driver::SyncServiceObserver {
public:
// Represents a history entry to be shown to the user, representing either
// a local or remote visit. A single entry can represent multiple visits,
@@ -249,7 +247,8 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler,
web_history_service_observer_;
// ProfileSyncService observer listens to late initialization of history sync.
- ScopedObserver<browser_sync::ProfileSyncService, syncer::SyncServiceObserver>
+ ScopedObserver<browser_sync::ProfileSyncService,
+ sync_driver::SyncServiceObserver>
sync_service_observer_;
// Whether the last call to Web History returned synced results.
« no previous file with comments | « chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc ('k') | chrome/browser/ui/webui/browsing_history_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698