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

Side by Side Diff: components/drive/resource_metadata_storage_unittest.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/drive/resource_metadata_storage.h" 5 #include "components/drive/resource_metadata_storage.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 11
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/strings/string_split.h" 16 #include "base/strings/string_split.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "components/drive/chromeos/drive_test_util.h" 18 #include "components/drive/chromeos/drive_test_util.h"
19 #include "components/drive/drive.pb.h" 19 #include "components/drive/drive.pb.h"
20 #include "content/public/test/test_browser_thread_bundle.h" 20 #include "content/public/test/test_browser_thread_bundle.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 #include "third_party/leveldatabase/src/include/leveldb/db.h" 22 #include "third_party/leveldatabase/src/include/leveldb/db.h"
23 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 23 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h"
24 24
25 namespace drive { 25 namespace drive {
26 namespace internal { 26 namespace internal {
27 27
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 EXPECT_EQ(FILE_ERROR_OK, storage_->RemoveEntry(key3)); 629 EXPECT_EQ(FILE_ERROR_OK, storage_->RemoveEntry(key3));
630 EXPECT_TRUE(CheckValidity()); 630 EXPECT_TRUE(CheckValidity());
631 631
632 // Remove key1. 632 // Remove key1.
633 EXPECT_EQ(FILE_ERROR_OK, storage_->RemoveEntry(key1)); 633 EXPECT_EQ(FILE_ERROR_OK, storage_->RemoveEntry(key1));
634 EXPECT_TRUE(CheckValidity()); 634 EXPECT_TRUE(CheckValidity());
635 } 635 }
636 636
637 } // namespace internal 637 } // namespace internal
638 } // namespace drive 638 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/remove_stale_cache_files_unittest.cc ('k') | components/drive/resource_metadata_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698