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

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

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/network_change_notifier_chromeos.h" 5 #include "chrome/browser/chromeos/net/network_change_notifier_chromeos.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "chrome/browser/chromeos/cros/cros_library.h" 8 #include "chrome/browser/chromeos/cros/cros_library.h"
9 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" 9 #include "chromeos/dbus/dbus_thread_manager.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 11
12 using content::BrowserThread; 12 using content::BrowserThread;
13 13
14 namespace { 14 namespace {
15 15
16 // Delay for online change notification reporting. 16 // Delay for online change notification reporting.
17 const int kOnlineNotificationDelayMS = 500; 17 const int kOnlineNotificationDelayMS = 500;
18 const int kInitialNotificationCheckDelayMS = 1000; 18 const int kInitialNotificationCheckDelayMS = 1000;
19 19
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 222
223 // static 223 // static
224 void NetworkChangeNotifierChromeos::UpdateInitialState( 224 void NetworkChangeNotifierChromeos::UpdateInitialState(
225 NetworkChangeNotifierChromeos* self) { 225 NetworkChangeNotifierChromeos* self) {
226 chromeos::NetworkLibrary* net = 226 chromeos::NetworkLibrary* net =
227 chromeos::CrosLibrary::Get()->GetNetworkLibrary(); 227 chromeos::CrosLibrary::Get()->GetNetworkLibrary();
228 self->UpdateNetworkState(net); 228 self->UpdateNetworkState(net);
229 } 229 }
230 230
231 } // namespace chromeos 231 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/net/network_change_notifier_chromeos.h ('k') | chrome/browser/chromeos/power/brightness_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698