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

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

Issue 2657823005: Move //c/b/services/gcm/ to //c/b/gcm/ (Closed)
Patch Set: Created 3 years, 11 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
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 "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "chrome/browser/chrome_notification_types.h" 12 #include "chrome/browser/chrome_notification_types.h"
13 #include "chrome/browser/extensions/api/gcm/gcm_api.h" 13 #include "chrome/browser/extensions/api/gcm/gcm_api.h"
14 #include "chrome/browser/gcm/gcm_profile_service_factory.h"
15 #include "chrome/browser/gcm/instance_id/instance_id_profile_service.h"
16 #include "chrome/browser/gcm/instance_id/instance_id_profile_service_factory.h"
14 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h"
16 #include "chrome/browser/services/gcm/instance_id/instance_id_profile_service.h"
17 #include "chrome/browser/services/gcm/instance_id/instance_id_profile_service_fa ctory.h"
18 #include "components/gcm_driver/gcm_driver.h" 18 #include "components/gcm_driver/gcm_driver.h"
19 #include "components/gcm_driver/gcm_profile_service.h" 19 #include "components/gcm_driver/gcm_profile_service.h"
20 #include "components/gcm_driver/instance_id/instance_id_driver.h" 20 #include "components/gcm_driver/instance_id/instance_id_driver.h"
21 #include "extensions/browser/extension_registry.h" 21 #include "extensions/browser/extension_registry.h"
22 #include "extensions/browser/extension_system.h" 22 #include "extensions/browser/extension_system.h"
23 #include "extensions/common/extension.h" 23 #include "extensions/common/extension.h"
24 #include "extensions/common/permissions/permissions_data.h" 24 #include "extensions/common/permissions/permissions_data.h"
25 25
26 namespace extensions { 26 namespace extensions {
27 27
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 void ExtensionGCMAppHandler::AddAppHandler(const std::string& app_id) { 199 void ExtensionGCMAppHandler::AddAppHandler(const std::string& app_id) {
200 GetGCMDriver()->AddAppHandler(app_id, this); 200 GetGCMDriver()->AddAppHandler(app_id, this);
201 } 201 }
202 202
203 void ExtensionGCMAppHandler::RemoveAppHandler(const std::string& app_id) { 203 void ExtensionGCMAppHandler::RemoveAppHandler(const std::string& app_id) {
204 GetGCMDriver()->RemoveAppHandler(app_id); 204 GetGCMDriver()->RemoveAppHandler(app_id);
205 } 205 }
206 206
207 } // namespace extensions 207 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698