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

Side by Side Diff: chrome/browser/policy/cloud_policy_client.cc

Issue 10540003: Move guid generation from chrome/common/ to base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 | Annotate | Revision Log
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 "chrome/browser/policy/cloud_policy_client.h" 5 #include "chrome/browser/policy/cloud_policy_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/guid.h"
8 #include "base/logging.h" 9 #include "base/logging.h"
9 #include "chrome/browser/policy/device_management_service.h" 10 #include "chrome/browser/policy/device_management_service.h"
10 #include "chrome/browser/policy/proto/device_management_backend.pb.h" 11 #include "chrome/browser/policy/proto/device_management_backend.pb.h"
11 #include "chrome/common/guid.h"
12 12
13 namespace em = enterprise_management; 13 namespace em = enterprise_management;
14 14
15 namespace policy { 15 namespace policy {
16 16
17 CloudPolicyClient::Observer::~Observer() {} 17 CloudPolicyClient::Observer::~Observer() {}
18 18
19 CloudPolicyClient::StatusProvider::~StatusProvider() {} 19 CloudPolicyClient::StatusProvider::~StatusProvider() {}
20 20
21 CloudPolicyClient::CloudPolicyClient(const std::string& machine_id, 21 CloudPolicyClient::CloudPolicyClient(const std::string& machine_id,
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 void CloudPolicyClient::NotifyRegistrationStateChanged() { 230 void CloudPolicyClient::NotifyRegistrationStateChanged() {
231 FOR_EACH_OBSERVER(Observer, observers_, OnRegistrationStateChanged(this)); 231 FOR_EACH_OBSERVER(Observer, observers_, OnRegistrationStateChanged(this));
232 } 232 }
233 233
234 void CloudPolicyClient::NotifyClientError() { 234 void CloudPolicyClient::NotifyClientError() {
235 FOR_EACH_OBSERVER(Observer, observers_, OnClientError(this)); 235 FOR_EACH_OBSERVER(Observer, observers_, OnClientError(this));
236 } 236 }
237 237
238 } // namespace policy 238 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698