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

Side by Side Diff: content/browser/loader/network_service_interface.h

Issue 1953593002: Move DevToolsNetLogObserver to c/b/loader and create stub of network service interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_LOADER_NETWORK_SERVICE_INTERFACE_H_
6 #define CONTENT_BROWSER_LOADER_NETWORK_SERVICE_INTERFACE_H_
7
8 #include "base/macros.h"
9
10 namespace content {
11
12 // This is a placeholder for what will eventually become a Mojo-exposed
13 // interface to the network service. See https://crbug.com/598073.
14 class NetworkServiceInterface {
15 public:
16 NetworkServiceInterface();
17
18 static NetworkServiceInterface* GetInstance();
19
20 // APIs available from content-side.
21 void EnableNetLogObserver();
22 void DisableNetLogObserver();
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(NetworkServiceInterface);
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_BROWSER_LOADER_NETWORK_SERVICE_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698