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

Side by Side Diff: extensions/browser/api/networking_private/networking_private_service_client.cc

Issue 870163002: Move networking_private to src/extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN 2 Created 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/networking_private/networking_private_se rvice_client.h" 5 #include "extensions/browser/api/networking_private/networking_private_service_c lient.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/sequenced_task_runner.h" 9 #include "base/sequenced_task_runner.h"
10 #include "base/threading/worker_pool.h" 10 #include "base/threading/worker_pool.h"
11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/extensions/api/networking_private/networking_private_ap i.h"
13 #include "chrome/browser/extensions/api/networking_private/networking_private_de legate_observer.h"
14 #include "chrome/common/extensions/api/networking_private.h"
15 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
12 #include "extensions/browser/api/networking_private/networking_private_api.h"
13 #include "extensions/browser/api/networking_private/networking_private_delegate_ observer.h"
14 #include "extensions/common/api/networking_private.h"
16 15
17 using content::BrowserThread; 16 using content::BrowserThread;
18 using wifi::WiFiService; 17 using wifi::WiFiService;
19 18
20 namespace extensions { 19 namespace extensions {
21 20
22 namespace { 21 namespace {
23 22
24 const char kNetworkingPrivateSequenceTokenName[] = "NetworkingPrivate"; 23 const char kNetworkingPrivateSequenceTokenName[] = "NetworkingPrivate";
25 24
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 425
427 void NetworkingPrivateServiceClient::OnNetworkListChangedEventOnUIThread( 426 void NetworkingPrivateServiceClient::OnNetworkListChangedEventOnUIThread(
428 const std::vector<std::string>& network_guids) { 427 const std::vector<std::string>& network_guids) {
429 DCHECK_CURRENTLY_ON(BrowserThread::UI); 428 DCHECK_CURRENTLY_ON(BrowserThread::UI);
430 FOR_EACH_OBSERVER(NetworkingPrivateDelegateObserver, 429 FOR_EACH_OBSERVER(NetworkingPrivateDelegateObserver,
431 network_events_observers_, 430 network_events_observers_,
432 OnNetworkListChangedEvent(network_guids)); 431 OnNetworkListChangedEvent(network_guids));
433 } 432 }
434 433
435 } // namespace extensions 434 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698