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

Unified Diff: base/guid.cc

Issue 5849001: Move GUID utils to src/chrome/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years 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
« base/guid.h ('K') | « base/guid.h ('k') | base/guid_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/guid.cc
diff --git a/chrome/browser/guid.cc b/base/guid.cc
similarity index 90%
rename from chrome/browser/guid.cc
rename to base/guid.cc
index b8f46dbc7abc3f662977ad5ca54a86590be16c43..f0acb7a5756bd277c2b2ea4ba8edaffba7bd5c3f 100644
--- a/chrome/browser/guid.cc
+++ b/base/guid.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/guid.h"
+#include "base/guid.h"
#include "base/rand_util.h"
#include "base/stringprintf.h"
-namespace guid {
+namespace base {
bool IsValidGUID(const std::string& guid) {
const size_t kGUIDLength = 36U;
@@ -29,4 +29,4 @@ bool IsValidGUID(const std::string& guid) {
return true;
}
-} // namespace guid
+} // namespace base
« base/guid.h ('K') | « base/guid.h ('k') | base/guid_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698