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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 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 "chrome/browser/chromeos/file_system_provider/fake_provided_file_system .h" 5 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system .h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "net/base/io_buffer.h" 13 #include "net/base/io_buffer.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 namespace file_system_provider { 16 namespace file_system_provider {
17 namespace { 17 namespace {
18 18
19 const char kFakeFileName[] = "hello.txt"; 19 const char kFakeFileName[] = "hello.txt";
20 const char kFakeFileText[] = 20 const char kFakeFileText[] =
21 "This is a testing file. Lorem ipsum dolor sit amet est."; 21 "This is a testing file. Lorem ipsum dolor sit amet est.";
22 const size_t kFakeFileSize = sizeof(kFakeFileText) - 1u; 22 const size_t kFakeFileSize = sizeof(kFakeFileText) - 1u;
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 } 434 }
435 435
436 void FakeProvidedFileSystem::AbortMany(const std::vector<int>& task_ids) { 436 void FakeProvidedFileSystem::AbortMany(const std::vector<int>& task_ids) {
437 for (size_t i = 0; i < task_ids.size(); ++i) { 437 for (size_t i = 0; i < task_ids.size(); ++i) {
438 tracker_.TryCancel(task_ids[i]); 438 tracker_.TryCancel(task_ids[i]);
439 } 439 }
440 } 440 }
441 441
442 } // namespace file_system_provider 442 } // namespace file_system_provider
443 } // namespace chromeos 443 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698