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

Side by Side Diff: chrome/browser/extensions/extension_settings_leveldb_storage_unittest.cc

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: Review #6 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 #include "chrome/browser/extensions/extension_settings_storage_unittest.h" 5 #include "chrome/browser/extensions/extension_settings_storage_unittest.h"
6 6
7 namespace { 7 namespace {
8 8
9 ExtensionSettingsStorage* Param( 9 ExtensionSettingsStorage* Param(
10 ExtensionSettings* settings, 10 const ExtensionSettings& settings, const std::string& extension_id) {
11 const std::string& extension_id) { 11 return settings.GetStorageForTesting(
12 return settings->GetStorageForTesting(
13 ExtensionSettingsStorage::LEVELDB, false, extension_id); 12 ExtensionSettingsStorage::LEVELDB, false, extension_id);
14 } 13 }
15 14
16 } // namespace 15 } // namespace
17 16
18 INSTANTIATE_TEST_CASE_P( 17 INSTANTIATE_TEST_CASE_P(
19 ExtensionSettingsLeveldbStorage, 18 ExtensionSettingsLeveldbStorage,
20 ExtensionSettingsStorageTest, 19 ExtensionSettingsStorageTest,
21 testing::Values(&Param)); 20 testing::Values(&Param));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698