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

Unified Diff: base/guid_win.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
Index: base/guid_win.cc
diff --git a/chrome/browser/guid_win.cc b/base/guid_win.cc
similarity index 92%
rename from chrome/browser/guid_win.cc
rename to base/guid_win.cc
index 115e8062c9a8cc4efdf17750b8924825df672f09..8e49bb3bf5f5fe5dd46ab149c90bd3de20f840c4 100644
--- a/chrome/browser/guid_win.cc
+++ b/base/guid_win.cc
@@ -2,7 +2,7 @@
// 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 <stdlib.h>
@@ -14,7 +14,7 @@
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
-namespace guid {
+namespace base {
std::string GenerateGUID() {
const int kGUIDSize = 39;
@@ -35,4 +35,4 @@ std::string GenerateGUID() {
return WideToUTF8(guid_string.substr(1, guid_string.length() - 2));
}
-} // namespace guid
+} // namespace base

Powered by Google App Engine
This is Rietveld 408576698