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

Side by Side Diff: components/policy/core/common/policy_service.cc

Issue 1749053002: Move //remoting/remoting_host_win.gypi:* to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update for component build of Windows Created 4 years, 9 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 #include "components/policy/core/common/policy_service.h" 5 #include "components/policy/core/common/policy_service.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 8
9 namespace policy { 9 namespace policy {
10 10
(...skipping 21 matching lines...) Expand all
32 return; 32 return;
33 for (CallbackMap::iterator it = callback_map_.begin(); 33 for (CallbackMap::iterator it = callback_map_.begin();
34 it != callback_map_.end(); ++it) { 34 it != callback_map_.end(); ++it) {
35 const base::Value* prev = previous.GetValue(it->first); 35 const base::Value* prev = previous.GetValue(it->first);
36 const base::Value* cur = current.GetValue(it->first); 36 const base::Value* cur = current.GetValue(it->first);
37 if (!base::Value::Equals(prev, cur)) 37 if (!base::Value::Equals(prev, cur))
38 it->second.Run(prev, cur); 38 it->second.Run(prev, cur);
39 } 39 }
40 } 40 }
41 41
42 void PolicyService::Observer::OnPolicyServiceInitialized(PolicyDomain domain) {}
43
44 PolicyService::Observer::~Observer() {}
45
46 PolicyService::~PolicyService() {}
47
48 #if defined(WIN32) && defined(COMPONENT_BUILD)
49
50 PolicyService::Observer::Observer() {}
51
52 #endif
53
42 } // namespace policy 54 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698