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

Side by Side Diff: third_party/libaddressinput/chromium/chrome_storage_impl_unittest.cc

Issue 1662523004: Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « third_party/libaddressinput/chromium/chrome_storage_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "third_party/libaddressinput/chromium/chrome_storage_impl.h" 5 #include "third_party/libaddressinput/chromium/chrome_storage_impl.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/prefs/value_map_pref_store.h" 9 #include "components/prefs/value_map_pref_store.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "third_party/libaddressinput/chromium/storage_test_runner.h" 11 #include "third_party/libaddressinput/chromium/storage_test_runner.h"
12 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/callback.h " 12 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/callback.h "
13 13
14 namespace autofill { 14 namespace autofill {
15 15
16 // Tests for ChromeStorageImpl object. 16 // Tests for ChromeStorageImpl object.
17 class ChromeStorageImplTest : public testing::Test { 17 class ChromeStorageImplTest : public testing::Test {
18 protected: 18 protected:
19 ChromeStorageImplTest() 19 ChromeStorageImplTest()
20 : store_(new ValueMapPrefStore()), 20 : store_(new ValueMapPrefStore()),
21 storage_(store_.get()), 21 storage_(store_.get()),
22 runner_(&storage_) {} 22 runner_(&storage_) {}
23 23
24 virtual ~ChromeStorageImplTest() {} 24 virtual ~ChromeStorageImplTest() {}
25 25
26 scoped_refptr<ValueMapPrefStore> store_; 26 scoped_refptr<ValueMapPrefStore> store_;
27 ChromeStorageImpl storage_; 27 ChromeStorageImpl storage_;
28 StorageTestRunner runner_; 28 StorageTestRunner runner_;
29 }; 29 };
30 30
31 TEST_F(ChromeStorageImplTest, StandardStorageTests) { 31 TEST_F(ChromeStorageImplTest, StandardStorageTests) {
32 EXPECT_NO_FATAL_FAILURE(runner_.RunAllTests()); 32 EXPECT_NO_FATAL_FAILURE(runner_.RunAllTests());
33 } 33 }
34 34
35 } // namespace autofill 35 } // namespace autofill
OLDNEW
« no previous file with comments | « third_party/libaddressinput/chromium/chrome_storage_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698