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

Side by Side Diff: content/browser/renderer_host/async_resource_handler.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/renderer_host/async_resource_handler.h" 5 #include "content/browser/renderer_host/async_resource_handler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/debug/alias.h"
10 #include "base/hash_tables.h" 11 #include "base/hash_tables.h"
11 #include "base/logging.h" 12 #include "base/logging.h"
12 #include "base/shared_memory.h" 13 #include "base/shared_memory.h"
13 #include "content/browser/debugger/devtools_netlog_observer.h" 14 #include "content/browser/debugger/devtools_netlog_observer.h"
14 #include "content/browser/host_zoom_map.h" 15 #include "content/browser/host_zoom_map.h"
15 #include "content/browser/renderer_host/resource_dispatcher_host.h" 16 #include "content/browser/renderer_host/resource_dispatcher_host.h"
16 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" 17 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
17 #include "content/browser/renderer_host/resource_message_filter.h" 18 #include "content/browser/renderer_host/resource_message_filter.h"
18 #include "content/browser/resource_context.h" 19 #include "content/browser/resource_context.h"
19 #include "content/common/resource_messages.h" 20 #include "content/common/resource_messages.h"
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 278
278 // static 279 // static
279 void AsyncResourceHandler::GlobalCleanup() { 280 void AsyncResourceHandler::GlobalCleanup() {
280 if (g_spare_read_buffer) { 281 if (g_spare_read_buffer) {
281 // Avoid the CHECK in SharedIOBuffer::~SharedIOBuffer(). 282 // Avoid the CHECK in SharedIOBuffer::~SharedIOBuffer().
282 SharedIOBuffer* tmp = g_spare_read_buffer; 283 SharedIOBuffer* tmp = g_spare_read_buffer;
283 g_spare_read_buffer = NULL; 284 g_spare_read_buffer = NULL;
284 tmp->Release(); 285 tmp->Release();
285 } 286 }
286 } 287 }
OLDNEW
« no previous file with comments | « content/browser/plugin_service_impl_browsertest.cc ('k') | content/browser/renderer_host/gpu_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698