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

Unified Diff: chrome/test/testing_browser_process.h

Issue 6979011: Move user cloud policy to BrowserProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments by mnissler. Added unittest. Created 9 years, 7 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/test/testing_browser_process.h
diff --git a/chrome/test/testing_browser_process.h b/chrome/test/testing_browser_process.h
index 7a1ffcd923d0567c5d8347ef33a2992bd741b26a..be6a5f5491eb003bc228ea0021d29b9e5290b0f0 100644
--- a/chrome/test/testing_browser_process.h
+++ b/chrome/test/testing_browser_process.h
@@ -30,6 +30,8 @@ class WaitableEvent;
namespace policy {
class BrowserPolicyConnector;
+class UserPolicyConnector;
+class ConfigurationPolicyProvider;
}
namespace ui {
@@ -73,6 +75,13 @@ class TestingBrowserProcess : public BrowserProcess {
virtual policy::BrowserPolicyConnector* browser_policy_connector();
+ virtual policy::UserPolicyConnector* user_policy_connector();
+
+ virtual policy::ConfigurationPolicyProvider* managed_cloud_policy_provider();
+
+ virtual policy::ConfigurationPolicyProvider*
+ recommended_cloud_policy_provider();
+
virtual IconManager* icon_manager();
virtual ThumbnailGenerator* GetThumbnailGenerator();
@@ -161,6 +170,11 @@ class TestingBrowserProcess : public BrowserProcess {
// Weak pointer.
PrefService* local_state_;
scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_;
+ scoped_ptr<policy::UserPolicyConnector> user_policy_connector_;
+ scoped_ptr<policy::ConfigurationPolicyProvider>
+ managed_cloud_policy_provider_;
Joao da Silva 2011/05/31 14:50:23 Nit: indent?
sfeuz 2011/06/03 08:30:35 Obsolete.
+ scoped_ptr<policy::ConfigurationPolicyProvider>
+ recommended_cloud_policy_provider_;
scoped_ptr<GoogleURLTracker> google_url_tracker_;
scoped_ptr<ProfileManager> profile_manager_;
scoped_ptr<NotificationUIManager> notification_ui_manager_;

Powered by Google App Engine
This is Rietveld 408576698