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

Unified Diff: chrome/browser/supervised_user/legacy/permission_request_creator_sync.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: chrome/browser/supervised_user/legacy/permission_request_creator_sync.h
diff --git a/chrome/browser/supervised_user/legacy/permission_request_creator_sync.h b/chrome/browser/supervised_user/legacy/permission_request_creator_sync.h
index 6cbd0ab665c069668d39e16e4b9f8c5d793811ef..4d763b98e44927f82738d1f91bd1bcec63672828 100644
--- a/chrome/browser/supervised_user/legacy/permission_request_creator_sync.h
+++ b/chrome/browser/supervised_user/legacy/permission_request_creator_sync.h
@@ -10,10 +10,13 @@
#include "chrome/browser/supervised_user/permission_request_creator.h"
-class ProfileSyncService;
class SupervisedUserSettingsService;
class SupervisedUserSharedSettingsService;
+namespace browser_sync {
+class ProfileSyncService;
+} // namespace browser_sync
+
// The requests are stored using a prefix followed by a URIEncoded version of
// the URL/extension ID. Each entry contains a dictionary which currently has
// the timestamp of the request in it.
@@ -22,7 +25,7 @@ class PermissionRequestCreatorSync : public PermissionRequestCreator {
PermissionRequestCreatorSync(
SupervisedUserSettingsService* settings_service,
SupervisedUserSharedSettingsService* shared_settings_service,
- ProfileSyncService* sync_service,
+ browser_sync::ProfileSyncService* sync_service,
const std::string& name,
const std::string& supervised_user_id);
~PermissionRequestCreatorSync() override;
@@ -43,7 +46,7 @@ class PermissionRequestCreatorSync : public PermissionRequestCreator {
const SuccessCallback& callback);
SupervisedUserSettingsService* settings_service_;
SupervisedUserSharedSettingsService* shared_settings_service_;
- ProfileSyncService* sync_service_;
+ browser_sync::ProfileSyncService* sync_service_;
std::string name_;
std::string supervised_user_id_;
};

Powered by Google App Engine
This is Rietveld 408576698