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

Side by Side Diff: content/public/browser/network_service_instance.h

Issue 2968293002: Introduce SystemNetworkContextManager. (Closed)
Patch Set: Fix windows non-component build (??) Created 3 years, 5 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 2017 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_PUBLIC_BROWSER_NETWORK_SERVICE_INSTANCE_H_
6 #define CONTENT_PUBLIC_BROWSER_NETWORK_SERVICE_INSTANCE_H_
7
8 #include "content/common/content_export.h"
9
10 namespace content {
11
12 namespace mojom {
13 class NetworkService;
14 }
15
16 // Returns a pointer to the NetworkService, creating / re-creating it as needed.
17 // Must only be called on the UI thread. Must not be called if OOP
jam 2017/07/08 01:30:08 nit: "OOP" unnecessary?
mmenke 2017/07/10 15:52:22 Done.
18 // NetworkService is disabled.
19 CONTENT_EXPORT mojom::NetworkService* GetNetworkService();
mmenke 2017/07/07 20:51:53 Not sure if there's a better way to do this - basi
mmenke 2017/07/07 20:56:55 Sorry, that should be "chrome needs to be able to
20
21 } // namespace content
22
23 #endif // CONTENT_PUBLIC_BROWSER_NETWORK_SERVICE_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698