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

Unified Diff: chrome/browser/extensions/app_notification.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 | « chrome/browser/chrome_to_mobile_service.cc ('k') | chrome/browser/history/shortcuts_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/app_notification.cc
diff --git a/chrome/browser/extensions/app_notification.cc b/chrome/browser/extensions/app_notification.cc
index fe0d1a09e25fac3d6515a3599a5ee0b4f2b0284c..f89353e23b6ea251bd3355e3f63fb5c9984c53db 100644
--- a/chrome/browser/extensions/app_notification.cc
+++ b/chrome/browser/extensions/app_notification.cc
@@ -4,10 +4,10 @@
#include "chrome/browser/extensions/app_notification.h"
+#include "base/guid.h"
#include "base/json/json_writer.h"
#include "base/string_number_conversions.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/common/guid.h"
namespace {
@@ -33,7 +33,7 @@ AppNotification::AppNotification(bool is_local,
extension_id_(extension_id),
title_(title),
body_(body) {
- guid_ = guid.empty() ? guid::GenerateGUID() : guid;
+ guid_ = guid.empty() ? base::GenerateGUID() : guid;
}
AppNotification::~AppNotification() {}
« no previous file with comments | « chrome/browser/chrome_to_mobile_service.cc ('k') | chrome/browser/history/shortcuts_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698