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

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

Issue 370833002: Move resource_type.* from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chromeos fix Created 6 years, 5 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 #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 "content/public/common/page_transition_types.h" 10 #include "content/public/common/page_transition_types.h"
11 #include "content/public/common/resource_type.h"
11 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" 12 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
12 #include "third_party/WebKit/public/web/WebPageVisibilityState.h" 13 #include "third_party/WebKit/public/web/WebPageVisibilityState.h"
13 #include "webkit/common/resource_type.h"
14 14
15 namespace net { 15 namespace net {
16 class URLRequest; 16 class URLRequest;
17 } 17 }
18 18
19 namespace content { 19 namespace content {
20 class ResourceContext; 20 class ResourceContext;
21 21
22 // Each URLRequest allocated by the ResourceDispatcherHost has a 22 // Each URLRequest allocated by the ResourceDispatcherHost has a
23 // ResourceRequestInfo instance associated with it. 23 // ResourceRequestInfo instance associated with it.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Whether this is a download. 115 // Whether this is a download.
116 virtual bool IsDownload() const = 0; 116 virtual bool IsDownload() const = 0;
117 117
118 protected: 118 protected:
119 virtual ~ResourceRequestInfo() {} 119 virtual ~ResourceRequestInfo() {}
120 }; 120 };
121 121
122 } // namespace content 122 } // namespace content
123 123
124 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ 124 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698