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

Side by Side Diff: content/browser/loader/navigation_url_loader_impl.h

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 #ifndef CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_H_
6 #define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_H_ 6 #define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "content/browser/loader/navigation_url_loader.h" 13 #include "content/browser/loader/navigation_url_loader.h"
14 14
15 namespace net { 15 namespace net {
16 struct RedirectInfo; 16 struct RedirectInfo;
17 } 17 }
18 18
19 namespace content { 19 namespace content {
20 20
21 class NavigationURLLoaderImplCore; 21 class NavigationURLLoaderImplCore;
22 class StreamHandle; 22 class StreamHandle;
23 struct ResourceResponse; 23 struct ResourceResponse;
24 24
25 class NavigationURLLoaderImpl : public NavigationURLLoader { 25 class NavigationURLLoaderImpl : public NavigationURLLoader {
26 public: 26 public:
27 // The caller is responsible for ensuring that |delegate| outlives the loader. 27 // The caller is responsible for ensuring that |delegate| outlives the loader.
28 NavigationURLLoaderImpl(BrowserContext* browser_context, 28 NavigationURLLoaderImpl(BrowserContext* browser_context,
29 int64 frame_tree_node_id, 29 int frame_tree_node_id,
30 scoped_ptr<NavigationRequestInfo> request_info, 30 scoped_ptr<NavigationRequestInfo> request_info,
31 NavigationURLLoaderDelegate* delegate); 31 NavigationURLLoaderDelegate* delegate);
32 ~NavigationURLLoaderImpl() override; 32 ~NavigationURLLoaderImpl() override;
33 33
34 // Called in response to OnRequestRedirected to continue processing the 34 // Called in response to OnRequestRedirected to continue processing the
35 // request. 35 // request.
36 void FollowRedirect() override; 36 void FollowRedirect() override;
37 37
38 private: 38 private:
39 friend class NavigationURLLoaderImplCore; 39 friend class NavigationURLLoaderImplCore;
(...skipping 20 matching lines...) Expand all
60 NavigationURLLoaderImplCore* core_; 60 NavigationURLLoaderImplCore* core_;
61 61
62 base::WeakPtrFactory<NavigationURLLoaderImpl> weak_factory_; 62 base::WeakPtrFactory<NavigationURLLoaderImpl> weak_factory_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderImpl); 64 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderImpl);
65 }; 65 };
66 66
67 } // namespace content 67 } // namespace content
68 68
69 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_H_ 69 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/loader/navigation_url_loader_factory.h ('k') | content/browser/loader/navigation_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698