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

Side by Side Diff: content/public/browser/resource_request_info.h

Issue 10640019: Remove the HANDLED_EXTERNALLY status code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase + fix nits Created 8 years, 3 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 (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 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h " 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h "
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Returns the associated resource type. 77 // Returns the associated resource type.
78 virtual ResourceType::Type GetResourceType() const = 0; 78 virtual ResourceType::Type GetResourceType() const = 0;
79 79
80 // Returns the associated referrer policy. 80 // Returns the associated referrer policy.
81 virtual WebKit::WebReferrerPolicy GetReferrerPolicy() const = 0; 81 virtual WebKit::WebReferrerPolicy GetReferrerPolicy() const = 0;
82 82
83 // True if the request was initiated by a user action (like a tap to follow 83 // True if the request was initiated by a user action (like a tap to follow
84 // a link). 84 // a link).
85 virtual bool HasUserGesture() const = 0; 85 virtual bool HasUserGesture() const = 0;
86 86
87 // True if ResourceController::CancelAndIgnore() was called. For example,
88 // the requested URL may be being loaded by an external program.
89 virtual bool WasIgnoredByHandler() const = 0;
90
87 // Returns false if there is NOT an associated render view. 91 // Returns false if there is NOT an associated render view.
88 virtual bool GetAssociatedRenderView(int* render_process_id, 92 virtual bool GetAssociatedRenderView(int* render_process_id,
89 int* render_view_id) const = 0; 93 int* render_view_id) const = 0;
90 94
91 protected: 95 protected:
92 virtual ~ResourceRequestInfo() {} 96 virtual ~ResourceRequestInfo() {}
93 }; 97 };
94 98
95 } // namespace content 99 } // namespace content
96 100
97 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ 101 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « content/public/browser/resource_controller.h ('k') | content/public/common/common_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698