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

Side by Side Diff: chrome/browser/chromeos/net/wake_on_wifi_connection_observer.cc

Issue 2657823005: Move //c/b/services/gcm/ to //c/b/gcm/ (Closed)
Patch Set: Created 3 years, 10 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/chromeos/net/wake_on_wifi_connection_observer.h" 5 #include "chrome/browser/chromeos/net/wake_on_wifi_connection_observer.h"
6 6
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "chrome/browser/chromeos/net/wake_on_wifi_manager.h" 9 #include "chrome/browser/chromeos/net/wake_on_wifi_manager.h"
10 #include "chrome/browser/gcm/gcm_profile_service_factory.h"
10 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h"
12 #include "chromeos/network/network_device_handler.h" 12 #include "chromeos/network/network_device_handler.h"
13 #include "components/gcm_driver/gcm_driver.h" 13 #include "components/gcm_driver/gcm_driver.h"
14 #include "components/gcm_driver/gcm_profile_service.h" 14 #include "components/gcm_driver/gcm_profile_service.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 WakeOnWifiConnectionObserver::WakeOnWifiConnectionObserver( 18 WakeOnWifiConnectionObserver::WakeOnWifiConnectionObserver(
19 Profile* profile, 19 Profile* profile,
20 bool wifi_properties_received, 20 bool wifi_properties_received,
21 WakeOnWifiManager::WakeOnWifiFeature feature, 21 WakeOnWifiManager::WakeOnWifiFeature feature,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void WakeOnWifiConnectionObserver::RemoveWakeOnPacketConnection() { 82 void WakeOnWifiConnectionObserver::RemoveWakeOnPacketConnection() {
83 if (!WakeOnWifiManager::IsWakeOnPacketEnabled(feature_)) 83 if (!WakeOnWifiManager::IsWakeOnPacketEnabled(feature_))
84 return; 84 return;
85 network_device_handler_ 85 network_device_handler_
86 ->RemoveWifiWakeOnPacketConnection(ip_endpoint_, 86 ->RemoveWifiWakeOnPacketConnection(ip_endpoint_,
87 base::Bind(&base::DoNothing), 87 base::Bind(&base::DoNothing),
88 network_handler::ErrorCallback()); 88 network_handler::ErrorCallback());
89 } 89 }
90 90
91 } // namespace chromeos 91 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chromeos/net/wake_on_wifi_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698