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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 186023002: DO NOT REVIEW Plumb push messaging registration through to gcm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 9 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_content_browser_client.h ('k') | chrome/browser/push_messaging/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 346456d6606d5313f6098cdccf0e0de8d3b46c71..73057eedfec44d63396f7c36b50c60a3c799d796 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -65,6 +65,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_io_data.h"
#include "chrome/browser/profiles/profile_manager.h"
+#include "chrome/browser/push_messaging/push_messaging_service_impl.h"
#include "chrome/browser/renderer_host/chrome_render_message_filter.h"
#include "chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h"
#include "chrome/browser/search/instant_service.h"
@@ -242,7 +243,6 @@
#include "chrome/browser/spellchecker/spellcheck_message_filter.h"
#endif
-
#if defined(ENABLE_MDNS)
#include "chrome/browser/local_discovery/storage/privet_filesystem_backend.h"
#endif
@@ -2204,6 +2204,13 @@ content::SpeechRecognitionManagerDelegate*
#endif
}
+content::PushMessagingService*
+ChromeContentBrowserClient::CreatePushMessagingService(
+ content::BrowserContext* browser_context) {
+ return new PushMessagingServiceImpl(
+ Profile::FromBrowserContext(browser_context));
+}
+
net::NetLog* ChromeContentBrowserClient::GetNetLog() {
return g_browser_process->net_log();
}
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/push_messaging/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698