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

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

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, 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 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERV ICE_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_CLI ENT_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERV ICE_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_CLI ENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/id_map.h" 12 #include "base/id_map.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/observer_list.h" 15 #include "base/observer_list.h"
16 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
17 #include "base/supports_user_data.h" 17 #include "base/supports_user_data.h"
18 #include "base/threading/sequenced_worker_pool.h" 18 #include "base/threading/sequenced_worker_pool.h"
19 #include "base/values.h" 19 #include "base/values.h"
20 #include "chrome/browser/extensions/api/networking_private/networking_private_de legate.h"
21 #include "components/keyed_service/core/keyed_service.h" 20 #include "components/keyed_service/core/keyed_service.h"
22 #include "components/wifi/wifi_service.h" 21 #include "components/wifi/wifi_service.h"
23 #include "content/public/browser/utility_process_host.h" 22 #include "content/public/browser/utility_process_host.h"
24 #include "content/public/browser/utility_process_host_client.h" 23 #include "content/public/browser/utility_process_host_client.h"
24 #include "extensions/browser/api/networking_private/networking_private_delegate. h"
25 #include "net/base/network_change_notifier.h" 25 #include "net/base/network_change_notifier.h"
26 26
27 namespace base { 27 namespace base {
28 class SequencedTaskRunner; 28 class SequencedTaskRunner;
29 } 29 }
30 30
31 namespace extensions { 31 namespace extensions {
32 32
33 // Windows / Mac NetworkingPrivateApi implementation. This implements 33 // Windows / Mac NetworkingPrivateApi implementation. This implements
34 // NetworkingPrivateDelegate, making WiFiService calls on the worker thead. 34 // NetworkingPrivateDelegate, making WiFiService calls on the worker thead.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // Task runner for worker tasks. 160 // Task runner for worker tasks.
161 scoped_refptr<base::SequencedTaskRunner> task_runner_; 161 scoped_refptr<base::SequencedTaskRunner> task_runner_;
162 // Use WeakPtrs for callbacks from |wifi_service_|. 162 // Use WeakPtrs for callbacks from |wifi_service_|.
163 base::WeakPtrFactory<NetworkingPrivateServiceClient> weak_factory_; 163 base::WeakPtrFactory<NetworkingPrivateServiceClient> weak_factory_;
164 164
165 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateServiceClient); 165 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateServiceClient);
166 }; 166 };
167 167
168 } // namespace extensions 168 } // namespace extensions
169 169
170 #endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_S ERVICE_CLIENT_H_ 170 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_ CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698