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

Unified Diff: chrome/browser/extensions/app_notify_channel_setup.cc

Issue 10830036: Moved the AppNotification system into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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
Index: chrome/browser/extensions/app_notify_channel_setup.cc
diff --git a/chrome/browser/extensions/app_notify_channel_setup.cc b/chrome/browser/extensions/app_notify_channel_setup.cc
index 106eac7c756c8294edaff344ba4097d89bddee29..2c5a4009afb53fc06e1712697622857e045a075d 100644
--- a/chrome/browser/extensions/app_notify_channel_setup.cc
+++ b/chrome/browser/extensions/app_notify_channel_setup.cc
@@ -36,6 +36,8 @@ using base::StringPrintf;
using content::BrowserThread;
using net::URLFetcher;
+namespace extensions {
+
namespace {
static const char kChannelSetupAuthError[] = "unauthorized";
@@ -56,8 +58,8 @@ static const char kOAuth2IssueTokenScope[] =
static const char kCWSChannelServiceURL[] =
"https://www.googleapis.com/chromewebstore/v1.1/channels/id";
-static AppNotifyChannelSetup::InterceptorForTests* g_interceptor_for_tests =
- NULL;
+static AppNotifyChannelSetup::InterceptorForTests*
+ g_interceptor_for_tests = NULL;
} // namespace.
@@ -410,3 +412,5 @@ bool AppNotifyChannelSetup::ParseCWSChannelServiceResponse(
DictionaryValue* dict = static_cast<DictionaryValue*>(value.get());
return dict->GetString("id", result);
}
+
+} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/app_notify_channel_setup.h ('k') | chrome/browser/extensions/app_notify_channel_setup_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698