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

Side by Side Diff: chrome/browser/extensions/extension_settings_storage_unittest.h

Issue 7775008: Enable sync for the settings from the Extension Settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Reordering Created 9 years, 3 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
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_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 scoped_ptr<ListValue> list2_; 47 scoped_ptr<ListValue> list2_;
48 scoped_ptr<ListValue> list12_; 48 scoped_ptr<ListValue> list12_;
49 scoped_ptr<ListValue> list13_; 49 scoped_ptr<ListValue> list13_;
50 scoped_ptr<ListValue> list123_; 50 scoped_ptr<ListValue> list123_;
51 scoped_ptr<DictionaryValue> emptyDict_; 51 scoped_ptr<DictionaryValue> emptyDict_;
52 scoped_ptr<DictionaryValue> dict1_; 52 scoped_ptr<DictionaryValue> dict1_;
53 scoped_ptr<DictionaryValue> dict12_; 53 scoped_ptr<DictionaryValue> dict12_;
54 scoped_ptr<DictionaryValue> dict123_; 54 scoped_ptr<DictionaryValue> dict123_;
55 55
56 private: 56 private:
57 void SetStorage(ExtensionSettingsStorage* storage); 57 void SetStorage(SyncableExtensionSettingsStorage* storage);
58 58
59 scoped_refptr<ExtensionSettings> settings_; 59 scoped_refptr<ExtensionSettings> settings_;
60 MessageLoopForUI* ui_message_loop_; 60 MessageLoopForUI* ui_message_loop_;
61 BrowserThread* ui_thread_; 61 BrowserThread* ui_thread_;
62 BrowserThread* file_thread_; 62 BrowserThread* file_thread_;
63 }; 63 };
64 64
65 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_ 65 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SETTINGS_STORAGE_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698