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

Side by Side Diff: content/browser/database_quota_client_unittest.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "net/base/completion_callback.h" 16 #include "net/base/completion_callback.h"
17 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
18 #include "storage/browser/database/database_quota_client.h" 18 #include "storage/browser/database/database_quota_client.h"
19 #include "storage/browser/database/database_tracker.h" 19 #include "storage/browser/database/database_tracker.h"
20 #include "storage/browser/database/database_util.h" 20 #include "storage/browser/database/database_util.h"
21 #include "storage/common/database/database_identifier.h" 21 #include "storage/common/database/database_identifier.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using storage::DatabaseQuotaClient; 24 using storage::DatabaseQuotaClient;
25 using storage::DatabaseTracker; 25 using storage::DatabaseTracker;
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 mock_tracker()->set_async_delete(false); 274 mock_tracker()->set_async_delete(false);
275 EXPECT_TRUE(DeleteOriginData(&client, kTemp, kOriginA)); 275 EXPECT_TRUE(DeleteOriginData(&client, kTemp, kOriginA));
276 EXPECT_EQ(1, mock_tracker()->delete_called_count()); 276 EXPECT_EQ(1, mock_tracker()->delete_called_count());
277 277
278 mock_tracker()->set_async_delete(true); 278 mock_tracker()->set_async_delete(true);
279 EXPECT_TRUE(DeleteOriginData(&client, kTemp, kOriginA)); 279 EXPECT_TRUE(DeleteOriginData(&client, kTemp, kOriginA));
280 EXPECT_EQ(2, mock_tracker()->delete_called_count()); 280 EXPECT_EQ(2, mock_tracker()->delete_called_count());
281 } 281 }
282 282
283 } // namespace content 283 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/compositor/software_output_device_ozone_unittest.cc ('k') | content/browser/database_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698