| OLD | NEW |
| (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_ |
| OLD | NEW |