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

Unified Diff: components/onc/onc_pref_names.h

Issue 2445153002: Move onc and proxy pref names to components. (Closed)
Patch Set: ONC_EXPORT Created 4 years, 2 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
« no previous file with comments | « components/onc/DEPS ('k') | components/onc/onc_pref_names.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/onc/onc_pref_names.h
diff --git a/components/onc/onc_pref_names.h b/components/onc/onc_pref_names.h
new file mode 100644
index 0000000000000000000000000000000000000000..372e9c8df15d6472a6284fcf9789d494b93ac054
--- /dev/null
+++ b/components/onc/onc_pref_names.h
@@ -0,0 +1,32 @@
+// Copyright 2016 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 COMPONENTS_ONC_PREF_NAMES_H_
+#define COMPONENTS_ONC_PREF_NAMES_H_
+
+#include "components/onc/onc_export.h"
+
+class PrefRegistrySimple;
+
+namespace user_prefs {
+class PrefRegistrySyncable;
+}
+
+namespace onc {
+
+namespace prefs {
+
+ONC_EXPORT extern const char kDeviceOpenNetworkConfiguration[];
+ONC_EXPORT extern const char kOpenNetworkConfiguration[];
+
+} // namespace prefs
+
+ONC_EXPORT void RegisterPrefs(PrefRegistrySimple* registry);
+
+ONC_EXPORT void RegisterProfilePrefs(
+ user_prefs::PrefRegistrySyncable* registry);
+
+} // namespace onc
+
+#endif // COMPONENTS_ONC_PREF_NAMES_H_
« no previous file with comments | « components/onc/DEPS ('k') | components/onc/onc_pref_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698