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

Unified Diff: chrome/browser/history/shortcuts_database.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
Index: chrome/browser/history/shortcuts_database.cc
diff --git a/chrome/browser/history/shortcuts_database.cc b/chrome/browser/history/shortcuts_database.cc
index dc1da07b3cbd9d9667f12724dabaf4baf89ab9f5..d5dfa06213b9c2c3e4ee8e5e27868bb4dc9349c3 100644
--- a/chrome/browser/history/shortcuts_database.cc
+++ b/chrome/browser/history/shortcuts_database.cc
@@ -8,10 +8,10 @@
#include <string>
#include <vector>
+#include "base/guid.h"
#include "base/logging.h"
#include "base/stringprintf.h"
#include "base/time.h"
-#include "chrome/common/guid.h"
#include "sql/statement.h"
namespace {
@@ -22,7 +22,7 @@ namespace {
void BindShortcutToStatement(
const history::ShortcutsBackend::Shortcut& shortcut,
sql::Statement* s) {
- DCHECK(guid::IsValidGUID(shortcut.id));
+ DCHECK(base::IsValidGUID(shortcut.id));
s->BindString(0, shortcut.id);
s->BindString16(1, shortcut.text);
s->BindString(2, shortcut.url.spec());
« no previous file with comments | « chrome/browser/history/shortcuts_backend_unittest.cc ('k') | chrome/browser/history/shortcuts_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698