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

Side by Side Diff: chrome/browser/policy/dummy_cloud_policy_provider.h

Issue 7941008: Cosmetic cleanups in chrome/browser/policy/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload was broken? Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_POLICY_DUMMY_CLOUD_POLICY_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_POLICY_DUMMY_CLOUD_POLICY_PROVIDER_H_
6 #define CHROME_BROWSER_POLICY_DUMMY_CLOUD_POLICY_PROVIDER_H_ 6 #define CHROME_BROWSER_POLICY_DUMMY_CLOUD_POLICY_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/observer_list.h"
9 #include "chrome/browser/policy/cloud_policy_provider.h" 10 #include "chrome/browser/policy/cloud_policy_provider.h"
10 11
11 namespace policy { 12 namespace policy {
12 13
13 // A cloud policy provider for tests, that provides 0 policies, but always 14 // A cloud policy provider for tests, that provides 0 policies, but always
14 // reports that it is initialized. 15 // reports that it is initialized.
15 class DummyCloudPolicyProvider : public CloudPolicyProvider { 16 class DummyCloudPolicyProvider : public CloudPolicyProvider {
16 public: 17 public:
17 explicit DummyCloudPolicyProvider(const PolicyDefinitionList* policy_list); 18 explicit DummyCloudPolicyProvider(const PolicyDefinitionList* policy_list);
18 virtual ~DummyCloudPolicyProvider(); 19 virtual ~DummyCloudPolicyProvider();
(...skipping 12 matching lines...) Expand all
31 ConfigurationPolicyProvider::Observer* observer) OVERRIDE; 32 ConfigurationPolicyProvider::Observer* observer) OVERRIDE;
32 33
33 ObserverList<ConfigurationPolicyProvider::Observer, true> observer_list_; 34 ObserverList<ConfigurationPolicyProvider::Observer, true> observer_list_;
34 35
35 DISALLOW_COPY_AND_ASSIGN(DummyCloudPolicyProvider); 36 DISALLOW_COPY_AND_ASSIGN(DummyCloudPolicyProvider);
36 }; 37 };
37 38
38 } // namespace policy 39 } // namespace policy
39 40
40 #endif // CHROME_BROWSER_POLICY_DUMMY_CLOUD_POLICY_PROVIDER_H_ 41 #endif // CHROME_BROWSER_POLICY_DUMMY_CLOUD_POLICY_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/device_token_fetcher.cc ('k') | chrome/browser/policy/dummy_configuration_policy_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698