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

Side by Side Diff: chrome/browser/extensions/api/dial/dial_registry.cc

Issue 1347043002: Move ChromeNetLog to //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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/extensions/api/dial/dial_registry.h" 5 #include "chrome/browser/extensions/api/dial/dial_registry.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/browser_process.h" 12 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/extensions/api/dial/dial_api.h" 13 #include "chrome/browser/extensions/api/dial/dial_api.h"
14 #include "chrome/browser/extensions/api/dial/dial_device_data.h" 14 #include "chrome/browser/extensions/api/dial/dial_device_data.h"
15 #include "chrome/browser/extensions/api/dial/dial_service.h" 15 #include "chrome/browser/extensions/api/dial/dial_service.h"
16 #include "chrome/browser/net/chrome_net_log.h"
17 #include "chrome/common/extensions/api/dial.h" 16 #include "chrome/common/extensions/api/dial.h"
17 #include "components/net_log/chrome_net_log.h"
18 18
19 using base::Time; 19 using base::Time;
20 using base::TimeDelta; 20 using base::TimeDelta;
21 using net::NetworkChangeNotifier; 21 using net::NetworkChangeNotifier;
22 22
23 namespace extensions { 23 namespace extensions {
24 24
25 DialRegistry::DialRegistry(Observer* dial_api, 25 DialRegistry::DialRegistry(Observer* dial_api,
26 const base::TimeDelta& refresh_interval, 26 const base::TimeDelta& refresh_interval,
27 const base::TimeDelta& expiration, 27 const base::TimeDelta& expiration,
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 case NetworkChangeNotifier::CONNECTION_BLUETOOTH: 321 case NetworkChangeNotifier::CONNECTION_BLUETOOTH:
322 if (!dial_.get()) { 322 if (!dial_.get()) {
323 VLOG(2) << "Connection detected, restarting discovery."; 323 VLOG(2) << "Connection detected, restarting discovery.";
324 StartPeriodicDiscovery(); 324 StartPeriodicDiscovery();
325 } 325 }
326 break; 326 break;
327 } 327 }
328 } 328 }
329 329
330 } // namespace extensions 330 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/download/download_service_impl.cc ('k') | chrome/browser/extensions/api/log_private/log_private_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698