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

Side by Side Diff: chrome/browser/extensions/extension_gcm_app_handler.cc

Issue 290013011: Move all remaining files to gcm_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_gcm_app_handler.h" 5 #include "chrome/browser/extensions/extension_gcm_app_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "chrome/browser/chrome_notification_types.h" 10 #include "chrome/browser/chrome_notification_types.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/services/gcm/gcm_driver.h"
13 #include "chrome/browser/services/gcm/gcm_profile_service.h" 12 #include "chrome/browser/services/gcm/gcm_profile_service.h"
14 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h" 13 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h"
14 #include "components/gcm_driver/gcm_driver.h"
15 #include "content/public/browser/notification_details.h" 15 #include "content/public/browser/notification_details.h"
16 #include "content/public/browser/notification_source.h" 16 #include "content/public/browser/notification_source.h"
17 #include "extensions/browser/extension_registry.h" 17 #include "extensions/browser/extension_registry.h"
18 #include "extensions/browser/extension_system.h" 18 #include "extensions/browser/extension_system.h"
19 #include "extensions/common/extension.h" 19 #include "extensions/common/extension.h"
20 #include "extensions/common/permissions/permissions_data.h" 20 #include "extensions/common/permissions/permissions_data.h"
21 21
22 #if !defined(OS_ANDROID) 22 #if !defined(OS_ANDROID)
23 #include "chrome/browser/extensions/api/gcm/gcm_api.h" 23 #include "chrome/browser/extensions/api/gcm/gcm_api.h"
24 #endif 24 #endif
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 gcm::GCMDriver* ExtensionGCMAppHandler::GetGCMDriver() const { 130 gcm::GCMDriver* ExtensionGCMAppHandler::GetGCMDriver() const {
131 return gcm::GCMProfileServiceFactory::GetForProfile(profile_)->driver(); 131 return gcm::GCMProfileServiceFactory::GetForProfile(profile_)->driver();
132 } 132 }
133 133
134 void ExtensionGCMAppHandler::OnUnregisterCompleted( 134 void ExtensionGCMAppHandler::OnUnregisterCompleted(
135 const std::string& app_id, gcm::GCMClient::Result result) { 135 const std::string& app_id, gcm::GCMClient::Result result) {
136 // Nothing to do. 136 // Nothing to do.
137 } 137 }
138 138
139 } // namespace extensions 139 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/gcm/gcm_api.cc ('k') | chrome/browser/extensions/extension_gcm_app_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698