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

Side by Side Diff: components/policy/core/common/cloud/cloud_policy_service.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 std::vector<RefreshPolicyCallback> refresh_callbacks_; 120 std::vector<RefreshPolicyCallback> refresh_callbacks_;
121 121
122 UnregisterCallback unregister_callback_; 122 UnregisterCallback unregister_callback_;
123 123
124 // Set to true once the service is initialized (initial policy load/refresh 124 // Set to true once the service is initialized (initial policy load/refresh
125 // is complete). 125 // is complete).
126 bool initialization_complete_; 126 bool initialization_complete_;
127 127
128 // Observers who will receive notifications when the service has finished 128 // Observers who will receive notifications when the service has finished
129 // initializing. 129 // initializing.
130 ObserverList<Observer, true> observers_; 130 base::ObserverList<Observer, true> observers_;
131 131
132 DISALLOW_COPY_AND_ASSIGN(CloudPolicyService); 132 DISALLOW_COPY_AND_ASSIGN(CloudPolicyService);
133 }; 133 };
134 134
135 } // namespace policy 135 } // namespace policy
136 136
137 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_ 137 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_
OLDNEW
« no previous file with comments | « components/policy/core/common/cloud/cloud_policy_core.h ('k') | components/policy/core/common/cloud/cloud_policy_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698