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

Unified Diff: chrome/browser/policy/cloud_policy_identity_strategy.cc

Issue 7298012: Consolidate data storage and notifications in the cloud policy subsystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 5 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/policy/cloud_policy_identity_strategy.cc
diff --git a/chrome/browser/policy/cloud_policy_identity_strategy.cc b/chrome/browser/policy/cloud_policy_identity_strategy.cc
deleted file mode 100644
index 6aa80bb736b1e5127aad9ef3033f041c0d6e420c..0000000000000000000000000000000000000000
--- a/chrome/browser/policy/cloud_policy_identity_strategy.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/policy/cloud_policy_identity_strategy.h"
-
-namespace policy {
-
-CloudPolicyIdentityStrategy::CloudPolicyIdentityStrategy() {}
-
-CloudPolicyIdentityStrategy::~CloudPolicyIdentityStrategy() {}
-
-void CloudPolicyIdentityStrategy::AddObserver(Observer* obs) {
- observer_list_.AddObserver(obs);
-}
-
-void CloudPolicyIdentityStrategy::RemoveObserver(Observer* obs) {
- observer_list_.RemoveObserver(obs);
-}
-
-void CloudPolicyIdentityStrategy::NotifyDeviceTokenChanged() {
- FOR_EACH_OBSERVER(Observer, observer_list_, OnDeviceTokenChanged());
-}
-
-void CloudPolicyIdentityStrategy::NotifyAuthChanged() {
- FOR_EACH_OBSERVER(Observer, observer_list_, OnCredentialsChanged());
-}
-
-} // namespace policy
« no previous file with comments | « chrome/browser/policy/cloud_policy_identity_strategy.h ('k') | chrome/browser/policy/cloud_policy_subsystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698