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

Side by Side Diff: content/browser/cache_storage/cache_storage_cache.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 "content/browser/cache_storage/cache_storage_cache.h" 5 #include "content/browser/cache_storage/cache_storage_cache.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/barrier_closure.h" 11 #include "base/barrier_closure.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/guid.h" 13 #include "base/guid.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/metrics/histogram_macros.h" 15 #include "base/metrics/histogram_macros.h"
16 #include "base/strings/string_split.h" 16 #include "base/strings/string_split.h"
17 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
18 #include "base/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 #include "content/browser/cache_storage/cache_storage.pb.h" 19 #include "content/browser/cache_storage/cache_storage.pb.h"
20 #include "content/browser/cache_storage/cache_storage_blob_to_disk_cache.h" 20 #include "content/browser/cache_storage/cache_storage_blob_to_disk_cache.h"
21 #include "content/browser/cache_storage/cache_storage_scheduler.h" 21 #include "content/browser/cache_storage/cache_storage_scheduler.h"
22 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
23 #include "content/public/common/referrer.h" 23 #include "content/public/common/referrer.h"
24 #include "net/base/completion_callback.h" 24 #include "net/base/completion_callback.h"
25 #include "net/base/io_buffer.h" 25 #include "net/base/io_buffer.h"
26 #include "net/base/net_errors.h" 26 #include "net/base/net_errors.h"
27 #include "net/disk_cache/disk_cache.h" 27 #include "net/disk_cache/disk_cache.h"
28 #include "net/url_request/url_request_context_getter.h" 28 #include "net/url_request/url_request_context_getter.h"
(...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 storage::BlobDataBuilder blob_data(response->blob_uuid); 1538 storage::BlobDataBuilder blob_data(response->blob_uuid);
1539 1539
1540 disk_cache::Entry* temp_entry = entry.get(); 1540 disk_cache::Entry* temp_entry = entry.get();
1541 blob_data.AppendDiskCacheEntryWithSideData( 1541 blob_data.AppendDiskCacheEntryWithSideData(
1542 new CacheStorageCacheDataHandle(this, std::move(entry)), temp_entry, 1542 new CacheStorageCacheDataHandle(this, std::move(entry)), temp_entry,
1543 INDEX_RESPONSE_BODY, INDEX_SIDE_DATA); 1543 INDEX_RESPONSE_BODY, INDEX_SIDE_DATA);
1544 return blob_storage_context_->AddFinishedBlob(&blob_data); 1544 return blob_storage_context_->AddFinishedBlob(&blob_data);
1545 } 1545 }
1546 1546
1547 } // namespace content 1547 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698