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

Unified Diff: ios/chrome/browser/ui/webui/history/browsing_history_handler.h

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 years, 3 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: ios/chrome/browser/ui/webui/history/browsing_history_handler.h
diff --git a/ios/chrome/browser/ui/webui/history/browsing_history_handler.h b/ios/chrome/browser/ui/webui/history/browsing_history_handler.h
index 932c46f0f2d5612e97a37969b56db1ad3dc98dd1..6530cb50449bac7033a2f43ee98d62f858532967 100644
--- a/ios/chrome/browser/ui/webui/history/browsing_history_handler.h
+++ b/ios/chrome/browser/ui/webui/history/browsing_history_handler.h
@@ -23,18 +23,21 @@
#include "ios/web/public/webui/web_ui_ios_message_handler.h"
#include "url/gurl.h"
-class ProfileSyncService;
class SupervisedUserService;
namespace bookmarks {
class BookmarkModel;
-}
+} // namespace bookmarks
+
+namespace browser_sync {
+class ProfileSyncService;
+} // namespace browser_sync
namespace history {
class HistoryService;
struct QueryOptions;
class QueryResults;
-}
+} // namespace history
// The handler for Javascript messages related to the "history" view.
class BrowsingHistoryHandler : public web::WebUIIOSMessageHandler,
@@ -72,7 +75,7 @@ class BrowsingHistoryHandler : public web::WebUIIOSMessageHandler,
std::unique_ptr<base::DictionaryValue> ToValue(
bookmarks::BookmarkModel* bookmark_model,
SupervisedUserService* supervised_user_service,
- const ProfileSyncService* sync_service) const;
+ const browser_sync::ProfileSyncService* sync_service) const;
// Comparison function for sorting HistoryEntries from newest to oldest.
static bool SortByTimeDescending(const HistoryEntry& entry1,
« no previous file with comments | « ios/chrome/browser/sync/ios_chrome_sync_client.mm ('k') | ios/chrome/browser/ui/webui/history/browsing_history_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698