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

Side by Side Diff: extensions/browser/value_store/value_store_frontend_unittest.cc

Issue 558833002: Cleanup: Use base/files/file_util.h instead of base/file_util.h in apps/ and extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 "base/file_util.h" 5 #include "base/files/file_util.h"
6 #include "base/files/scoped_temp_dir.h" 6 #include "base/files/scoped_temp_dir.h"
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "content/public/test/test_browser_thread.h" 10 #include "content/public/test/test_browser_thread.h"
11 #include "extensions/browser/value_store/value_store_frontend.h" 11 #include "extensions/browser/value_store/value_store_frontend.h"
12 #include "extensions/common/extension_paths.h" 12 #include "extensions/common/extension_paths.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 using content::BrowserThread; 15 using content::BrowserThread;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 { 104 {
105 ASSERT_TRUE(Get("key1", &value)); 105 ASSERT_TRUE(Get("key1", &value));
106 std::string result; 106 std::string result;
107 ASSERT_TRUE(value->GetAsString(&result)); 107 ASSERT_TRUE(value->GetAsString(&result));
108 EXPECT_EQ("new1", result); 108 EXPECT_EQ("new1", result);
109 } 109 }
110 110
111 ASSERT_FALSE(Get("key2", &value)); 111 ASSERT_FALSE(Get("key2", &value));
112 } 112 }
OLDNEW
« no previous file with comments | « extensions/browser/value_store/leveldb_value_store_unittest.cc ('k') | extensions/browser/verified_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698