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

Side by Side Diff: chrome/test/live_sync/live_preferences_sync_test.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/automation/tab_proxy.h ('k') | chrome/test/ui/ui_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_LIVE_PREFERENCES_SYNC_TEST_H_ 5 #ifndef CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_
6 #define CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_ 6 #define CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include "chrome/test/live_sync/live_sync_test.h" 10 #include "chrome/test/live_sync/live_sync_test.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // |verifier| if DisableVerifier() hasn't been called. 57 // |verifier| if DisableVerifier() hasn't been called.
58 void ChangeFilePathPref(int index, 58 void ChangeFilePathPref(int index,
59 const char* pref_name, 59 const char* pref_name,
60 const FilePath& new_value); 60 const FilePath& new_value);
61 61
62 // Changes the value of the list preference with name |pref_name| in the 62 // Changes the value of the list preference with name |pref_name| in the
63 // profile with index |index| to |new_value|. Also changes its value in 63 // profile with index |index| to |new_value|. Also changes its value in
64 // |verifier| if DisableVerifier() hasn't been called. 64 // |verifier| if DisableVerifier() hasn't been called.
65 void ChangeListPref(int index, 65 void ChangeListPref(int index,
66 const char* pref_name, 66 const char* pref_name,
67 const ListValue& new_value); 67 const base::ListValue& new_value);
68 68
69 // Used to verify that the boolean preference with name |pref_name| has the 69 // Used to verify that the boolean preference with name |pref_name| has the
70 // same value across all profiles. Also checks |verifier| if DisableVerifier() 70 // same value across all profiles. Also checks |verifier| if DisableVerifier()
71 // hasn't been called. 71 // hasn't been called.
72 bool BooleanPrefMatches(const char* pref_name) WARN_UNUSED_RESULT; 72 bool BooleanPrefMatches(const char* pref_name) WARN_UNUSED_RESULT;
73 73
74 // Used to verify that the integer preference with name |pref_name| has the 74 // Used to verify that the integer preference with name |pref_name| has the
75 // same value across all profiles. Also checks |verifier| if DisableVerifier() 75 // same value across all profiles. Also checks |verifier| if DisableVerifier()
76 // hasn't been called. 76 // hasn't been called.
77 bool IntegerPrefMatches(const char* pref_name) WARN_UNUSED_RESULT; 77 bool IntegerPrefMatches(const char* pref_name) WARN_UNUSED_RESULT;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 class ManyClientLivePreferencesSyncTest : public LivePreferencesSyncTest { 146 class ManyClientLivePreferencesSyncTest : public LivePreferencesSyncTest {
147 public: 147 public:
148 ManyClientLivePreferencesSyncTest() : LivePreferencesSyncTest(MANY_CLIENT) {} 148 ManyClientLivePreferencesSyncTest() : LivePreferencesSyncTest(MANY_CLIENT) {}
149 virtual ~ManyClientLivePreferencesSyncTest() {} 149 virtual ~ManyClientLivePreferencesSyncTest() {}
150 150
151 private: 151 private:
152 DISALLOW_COPY_AND_ASSIGN(ManyClientLivePreferencesSyncTest); 152 DISALLOW_COPY_AND_ASSIGN(ManyClientLivePreferencesSyncTest);
153 }; 153 };
154 154
155 #endif // CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_ 155 #endif // CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_
OLDNEW
« no previous file with comments | « chrome/test/automation/tab_proxy.h ('k') | chrome/test/ui/ui_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698