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

Side by Side Diff: chrome/browser/net/quota_policy_channel_id_store_unittest.cc

Issue 563173002: Cleanup: Use base/files/file_util.h instead of base/file_util.h in [c-n]*/ (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
« no previous file with comments | « chrome/browser/net/quota_policy_channel_id_store.cc ('k') | courgette/base_test_unittest.cc » ('j') | 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/file_util.h" 6 #include "base/files/file_util.h"
7 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "chrome/browser/net/quota_policy_channel_id_store.h" 15 #include "chrome/browser/net/quota_policy_channel_id_store.h"
16 #include "content/public/test/mock_special_storage_policy.h" 16 #include "content/public/test/mock_special_storage_policy.h"
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 store_ = new QuotaPolicyChannelIDStore( 194 store_ = new QuotaPolicyChannelIDStore(
195 temp_dir_.path().Append(kTestChannelIDFilename), 195 temp_dir_.path().Append(kTestChannelIDFilename),
196 base::MessageLoopProxy::current(), 196 base::MessageLoopProxy::current(),
197 NULL); 197 NULL);
198 198
199 // Reload and check that the "foo.com" cert has been removed. 199 // Reload and check that the "foo.com" cert has been removed.
200 Load(&channel_ids); 200 Load(&channel_ids);
201 ASSERT_EQ(1U, channel_ids.size()); 201 ASSERT_EQ(1U, channel_ids.size());
202 ASSERT_EQ("google.com", channel_ids[0]->server_identifier()); 202 ASSERT_EQ("google.com", channel_ids[0]->server_identifier());
203 } 203 }
OLDNEW
« no previous file with comments | « chrome/browser/net/quota_policy_channel_id_store.cc ('k') | courgette/base_test_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698