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

Side by Side Diff: net/disk_cache/simple/simple_backend_impl.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « net/disk_cache/in_flight_io.h ('k') | net/disk_cache/simple/simple_entry_impl.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "net/disk_cache/simple/simple_backend_impl.h" 5 #include "net/disk_cache/simple/simple_backend_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/message_loop_proxy.h" 11 #include "base/message_loop/message_loop_proxy.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
13 #include "base/sys_info.h" 13 #include "base/sys_info.h"
14 #include "base/threading/worker_pool.h" 14 #include "base/threading/worker_pool.h"
15 #include "base/time.h" 15 #include "base/time.h"
16 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
17 #include "net/disk_cache/backend_impl.h" 17 #include "net/disk_cache/backend_impl.h"
18 #include "net/disk_cache/simple/simple_entry_format.h" 18 #include "net/disk_cache/simple/simple_entry_format.h"
19 #include "net/disk_cache/simple/simple_entry_impl.h" 19 #include "net/disk_cache/simple/simple_entry_impl.h"
20 #include "net/disk_cache/simple/simple_index.h" 20 #include "net/disk_cache/simple/simple_index.h"
21 #include "net/disk_cache/simple/simple_index_file.h" 21 #include "net/disk_cache/simple/simple_index_file.h"
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 // currently active entry. 345 // currently active entry.
346 if (key != it->second->key()) { 346 if (key != it->second->key()) {
347 it->second->Doom(); 347 it->second->Doom();
348 DCHECK_EQ(0U, active_entries_.count(entry_hash)); 348 DCHECK_EQ(0U, active_entries_.count(entry_hash));
349 return CreateOrFindActiveEntry(key); 349 return CreateOrFindActiveEntry(key);
350 } 350 }
351 return make_scoped_refptr(it->second.get()); 351 return make_scoped_refptr(it->second.get());
352 } 352 }
353 353
354 } // namespace disk_cache 354 } // namespace disk_cache
OLDNEW
« no previous file with comments | « net/disk_cache/in_flight_io.h ('k') | net/disk_cache/simple/simple_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698