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

Side by Side Diff: content/browser/loader/navigation_url_loader_impl_core.cc

Issue 1093923003: Change FrameTreeNode id from int64 to int. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change FrameTreeNode id from int64 to int Created 5 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/loader/navigation_url_loader_impl_core.h" 5 #include "content/browser/loader/navigation_url_loader_impl_core.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "content/browser/frame_host/navigation_request_info.h" 10 #include "content/browser/frame_host/navigation_request_info.h"
(...skipping 19 matching lines...) Expand all
30 30
31 NavigationURLLoaderImplCore::~NavigationURLLoaderImplCore() { 31 NavigationURLLoaderImplCore::~NavigationURLLoaderImplCore() {
32 DCHECK_CURRENTLY_ON(BrowserThread::IO); 32 DCHECK_CURRENTLY_ON(BrowserThread::IO);
33 33
34 if (resource_handler_) 34 if (resource_handler_)
35 resource_handler_->Cancel(); 35 resource_handler_->Cancel();
36 } 36 }
37 37
38 void NavigationURLLoaderImplCore::Start( 38 void NavigationURLLoaderImplCore::Start(
39 ResourceContext* resource_context, 39 ResourceContext* resource_context,
40 int64 frame_tree_node_id, 40 int frame_tree_node_id,
41 scoped_ptr<NavigationRequestInfo> request_info) { 41 scoped_ptr<NavigationRequestInfo> request_info) {
42 DCHECK_CURRENTLY_ON(BrowserThread::IO); 42 DCHECK_CURRENTLY_ON(BrowserThread::IO);
43 43
44 BrowserThread::PostTask( 44 BrowserThread::PostTask(
45 BrowserThread::UI, FROM_HERE, 45 BrowserThread::UI, FROM_HERE,
46 base::Bind(&NavigationURLLoaderImpl::NotifyRequestStarted, loader_, 46 base::Bind(&NavigationURLLoaderImpl::NotifyRequestStarted, loader_,
47 base::TimeTicks::Now())); 47 base::TimeTicks::Now()));
48 48
49 ResourceDispatcherHostImpl::Get()->BeginNavigationRequest( 49 ResourceDispatcherHostImpl::Get()->BeginNavigationRequest(
50 resource_context, frame_tree_node_id, 50 resource_context, frame_tree_node_id,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 int net_error) { 99 int net_error) {
100 DCHECK_CURRENTLY_ON(BrowserThread::IO); 100 DCHECK_CURRENTLY_ON(BrowserThread::IO);
101 101
102 BrowserThread::PostTask( 102 BrowserThread::PostTask(
103 BrowserThread::UI, FROM_HERE, 103 BrowserThread::UI, FROM_HERE,
104 base::Bind(&NavigationURLLoaderImpl::NotifyRequestFailed, loader_, 104 base::Bind(&NavigationURLLoaderImpl::NotifyRequestFailed, loader_,
105 in_cache, net_error)); 105 in_cache, net_error));
106 } 106 }
107 107
108 } // namespace content 108 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/navigation_url_loader_impl_core.h ('k') | content/browser/loader/resource_dispatcher_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698