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

Unified Diff: chrome/browser/webdata/autofill_profile_syncable_service.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/webdata/autocomplete_syncable_service.cc ('k') | chrome/browser/webdata/autofill_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/autofill_profile_syncable_service.cc
diff --git a/chrome/browser/webdata/autofill_profile_syncable_service.cc b/chrome/browser/webdata/autofill_profile_syncable_service.cc
index 8b352d53b7d0b2b8b73f4729e540e5ec8a638592..9716f1fdf08916b7ef14b42a58b2c4e7894c21de 100644
--- a/chrome/browser/webdata/autofill_profile_syncable_service.cc
+++ b/chrome/browser/webdata/autofill_profile_syncable_service.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/webdata/autofill_profile_syncable_service.h"
+#include "base/guid.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/utf_string_conversions.h"
@@ -14,7 +15,6 @@
#include "chrome/browser/webdata/web_data_service.h"
#include "chrome/browser/webdata/web_database.h"
#include "chrome/common/chrome_notification_types.h"
-#include "chrome/common/guid.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
@@ -315,7 +315,7 @@ void AutofillProfileSyncableService::WriteAutofillProfile(
sync_pb::AutofillProfileSpecifics* specifics =
profile_specifics->mutable_autofill_profile();
- DCHECK(guid::IsValidGUID(profile.guid()));
+ DCHECK(base::IsValidGUID(profile.guid()));
// Reset all multi-valued fields in the protobuf.
specifics->clear_name_first();
« no previous file with comments | « chrome/browser/webdata/autocomplete_syncable_service.cc ('k') | chrome/browser/webdata/autofill_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698