Chromium Code Reviews| 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_ |