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

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

Issue 10540003: Move guid generation from chrome/common/ to base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: installer 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/metrics/metrics_service.cc ('k') | chrome/browser/policy/cloud_policy_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/auto_enrollment_client.cc
diff --git a/chrome/browser/policy/auto_enrollment_client.cc b/chrome/browser/policy/auto_enrollment_client.cc
index d0ffb6a8eb66a13e2641eac6528a90c093bcd781..eabe10ebd47d83d48ca5ed63c6f572baecebfddd 100644
--- a/chrome/browser/policy/auto_enrollment_client.cc
+++ b/chrome/browser/policy/auto_enrollment_client.cc
@@ -6,6 +6,7 @@
#include "base/bind.h"
#include "base/command_line.h"
+#include "base/guid.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/message_loop_proxy.h"
@@ -16,7 +17,6 @@
#include "chrome/browser/policy/device_management_service.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/common/chrome_switches.h"
-#include "chrome/common/guid.h"
#include "chrome/common/pref_names.h"
#include "crypto/sha2.h"
@@ -77,7 +77,7 @@ AutoEnrollmentClient::AutoEnrollmentClient(const base::Closure& callback,
int power_limit)
: completion_callback_(callback),
should_auto_enroll_(false),
- device_id_(guid::GenerateGUID()),
+ device_id_(base::GenerateGUID()),
power_initial_(power_initial),
power_limit_(power_limit),
requests_sent_(0),
« no previous file with comments | « chrome/browser/metrics/metrics_service.cc ('k') | chrome/browser/policy/cloud_policy_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698