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

Unified Diff: base/prefs/pref_paths.h

Issue 11411159: base/prefs: Break the dependency in chrome_paths.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: base/prefs/pref_paths.h
diff --git a/base/prefs/pref_paths.h b/base/prefs/pref_paths.h
new file mode 100644
index 0000000000000000000000000000000000000000..865b24bfccecd153655d9ebd8f8f681b420442f5
--- /dev/null
+++ b/base/prefs/pref_paths.h
@@ -0,0 +1,28 @@
+// Copyright 2012 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 BASE_PREFS_PREF_PATHS_H_
+#define BASE_PREFS_PREF_PATHS_H_
+
+#include "base/prefs/base_prefs_export.h"
+
+namespace base {
+namespace prefs {
+
+enum {
+ PATH_START = 5000,
+
+ // Use only for unittests.
+ DIR_TEST_DATA,
Jói 2012/11/26 10:42:26 Have you seen any other paths that might get added
tfarina 2012/11/27 02:15:59 Done.
+
+ PATH_END
+};
+
+// Call once to register the provider for the path keys defined above.
+BASE_PREFS_EXPORT void RegisterPathProvider();
+
+} // namespace prefs
+} // namespace base
+
+#endif // BASE_PREFS_PREF_PATHS_H_

Powered by Google App Engine
This is Rietveld 408576698