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

Side by Side Diff: chrome/browser/extensions/extension_settings_cached_noop_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, const std::string& extension_id) { 10 const ExtensionSettings& settings, const std::string& extension_id) {
11 return settings->GetStorageForTesting( 11 return settings.GetStorageForTesting(
12 ExtensionSettingsStorage::NOOP, true, extension_id); 12 ExtensionSettingsStorage::NOOP, true, extension_id);
13 } 13 }
14 14
15 } // namespace 15 } // namespace
16 16
17 INSTANTIATE_TEST_CASE_P( 17 INSTANTIATE_TEST_CASE_P(
18 ExtensionSettingsCachedNoopStorage, 18 ExtensionSettingsCachedNoopStorage,
19 ExtensionSettingsStorageTest, 19 ExtensionSettingsStorageTest,
20 testing::Values(&Param)); 20 testing::Values(&Param));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698