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

Unified Diff: chrome/browser/net/http_server_properties_manager_factory.h

Issue 378823002: Move http_server_properties_manager from chrome/browser/net to net/http. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix renames in comments. Created 6 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: chrome/browser/net/http_server_properties_manager_factory.h
diff --git a/chrome/browser/net/http_server_properties_manager_factory.h b/chrome/browser/net/http_server_properties_manager_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..4fc94bd54dc479f85a394b463eb48a6b850b4925
--- /dev/null
+++ b/chrome/browser/net/http_server_properties_manager_factory.h
@@ -0,0 +1,39 @@
+// Copyright 2014 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 CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
+#define CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
+
+#include "base/macros.h"
+
+class PrefService;
+
+namespace net {
+class HttpServerPropertiesManager;
+}
+
+namespace user_prefs {
+class PrefRegistrySyncable;
+}
+
+namespace chrome_browser_net {
+
+////////////////////////////////////////////////////////////////////////////////
+// Class for registration and creation of HttpServerPropertiesManager
+class HttpServerPropertiesManagerFactory {
+ public:
+ // Create an instance of HttpServerPropertiesManager.
+ static net::HttpServerPropertiesManager* CreateManager(
+ PrefService* pref_service);
+
+ // Register prefs for properties managed by HttpServerPropertiesManager.
+ static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(HttpServerPropertiesManagerFactory);
+};
+
+} // namespace chrome_browser_net
+
+#endif // CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
« no previous file with comments | « chrome/browser/net/http_server_properties_manager.cc ('k') | chrome/browser/net/http_server_properties_manager_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698