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

Unified Diff: base/guid.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.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/common/guid.cc b/base/guid.cc
similarity index 85%
rename from chrome/common/guid.cc
rename to base/guid.cc
index a6b4b094ebb9b5f5d80777efebb01f761a17fc9a..920dae538ce02b0f31a208a0ea93606ffa8a7324 100644
--- a/chrome/common/guid.cc
+++ b/base/guid.cc
@@ -1,13 +1,13 @@
-// Copyright (c) 2010 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 {
bool IsValidGUID(const std::string& guid) {
const size_t kGUIDLength = 36U;
« no previous file with comments | « base/guid.h ('k') | base/guid_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698