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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/network_service_instance.h
diff --git a/content/public/browser/network_service_instance.h b/content/public/browser/network_service_instance.h
new file mode 100644
index 0000000000000000000000000000000000000000..1807e6db9fa04099d1bf70ee1d117ef8c69dc794
--- /dev/null
+++ b/content/public/browser/network_service_instance.h
@@ -0,0 +1,23 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_BROWSER_NETWORK_SERVICE_INSTANCE_H_
+#define CONTENT_PUBLIC_BROWSER_NETWORK_SERVICE_INSTANCE_H_
+
+#include "content/common/content_export.h"
+
+namespace content {
+
+namespace mojom {
+class NetworkService;
+}
+
+// Returns a pointer to the NetworkService, creating / re-creating it as needed.
+// 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.
+// NetworkService is disabled.
+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
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_NETWORK_SERVICE_INSTANCE_H_

Powered by Google App Engine
This is Rietveld 408576698