OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_TEST_LIVE_SYNC_PREFERENCES_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_PREFERENCES_HELPER_H_ |
6 #define CHROME_TEST_LIVE_SYNC_PREFERENCES_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_PREFERENCES_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 class PrefService; | 14 class PrefService; |
15 | 15 |
16 namespace preferences_helper { | 16 namespace preferences_helper { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // hasn't been called. | 90 // hasn't been called. |
91 bool FilePathPrefMatches(const char* pref_name) WARN_UNUSED_RESULT; | 91 bool FilePathPrefMatches(const char* pref_name) WARN_UNUSED_RESULT; |
92 | 92 |
93 // Used to verify that the list preference with name |pref_name| has the | 93 // Used to verify that the list preference with name |pref_name| has the |
94 // same value across all profiles. Also checks |verifier| if DisableVerifier() | 94 // same value across all profiles. Also checks |verifier| if DisableVerifier() |
95 // hasn't been called. | 95 // hasn't been called. |
96 bool ListPrefMatches(const char* pref_name) WARN_UNUSED_RESULT; | 96 bool ListPrefMatches(const char* pref_name) WARN_UNUSED_RESULT; |
97 | 97 |
98 } // namespace preferences_helper | 98 } // namespace preferences_helper |
99 | 99 |
100 #endif // CHROME_TEST_LIVE_SYNC_PREFERENCES_HELPER_H_ | 100 #endif // CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_PREFERENCES_HELPER_H_ |
OLD | NEW |