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

Unified Diff: base/guid_posix.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
« no previous file with comments | « base/guid.cc ('k') | base/guid_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/guid_posix.cc
diff --git a/chrome/common/guid_posix.cc b/base/guid_posix.cc
similarity index 88%
rename from chrome/common/guid_posix.cc
rename to base/guid_posix.cc
index f21788bd2631f734abcf50f2d972459f0e7fbfbb..89811d0a655bfeeda83c2e6fc7dd80e5c14f0173 100644
--- a/chrome/common/guid_posix.cc
+++ b/base/guid_posix.cc
@@ -1,13 +1,13 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/guid.h"
+#include "base/guid.h"
#include "base/rand_util.h"
#include "base/stringprintf.h"
-namespace guid {
+namespace base {
std::string GenerateGUID() {
uint64 sixteen_bytes[2] = { base::RandUint64(), base::RandUint64() };
« no previous file with comments | « base/guid.cc ('k') | base/guid_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698