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

Unified Diff: base/guid.h

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
« no previous file with comments | « base/base.gypi ('k') | base/guid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/guid.h
diff --git a/chrome/browser/guid.h b/base/guid.h
similarity index 88%
rename from chrome/browser/guid.h
rename to base/guid.h
index b5aa67d6f8f27340dbc89f69a25d47d4f1c3385e..9fad5e37d684e3b31e0a17447cb90a8fdeef4748 100644
--- a/chrome/browser/guid.h
+++ b/base/guid.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_GUID_H_
-#define CHROME_BROWSER_GUID_H_
+#ifndef BASE_GUID_H_
+#define BASE_GUID_H_
#pragma once
#include <string>
@@ -11,7 +11,7 @@
#include "base/basictypes.h"
#include "build/build_config.h"
-namespace guid {
+namespace base {
// Generate a 128-bit random GUID of the form: "%08X-%04X-%04X-%04X-%012llX".
// If GUID generation fails an empty string is returned.
@@ -29,4 +29,4 @@ std::string RandomDataToGUIDString(const uint64 bytes[2]);
} // namespace guid
Ilya Sherman 2010/12/15 01:37:52 nit: // namespace base
Sergey Ulanov 2010/12/15 01:45:05 Done.
-#endif // CHROME_BROWSER_GUID_H_
+#endif // BASE_GUID_H_
« no previous file with comments | « base/base.gypi ('k') | base/guid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698