summaryrefslogtreecommitdiffstats
path: root/content/renderer/internal_document_state_data.h
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-14 08:25:49 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-14 08:25:49 +0000
commitf8c700bae560d44b15abd73926e3d589433f1d27 (patch)
tree03073d4543a484db7752dad6c3011fc56a5646af /content/renderer/internal_document_state_data.h
parentddfbd8f071364bdcfb40fc517a7fa1e82893a5e8 (diff)
downloadchromium_src-f8c700bae560d44b15abd73926e3d589433f1d27.zip
chromium_src-f8c700bae560d44b15abd73926e3d589433f1d27.tar.gz
chromium_src-f8c700bae560d44b15abd73926e3d589433f1d27.tar.bz2
Move resource fetchers to renderer-specific location
ResourceFetcher is a helper class for using the WebKit API to grab simple resources, like favicons. This code is only used in content/renderer/ and so doesn't need to be in glue. BUG=237267 Review URL: https://chromiumcodereview.appspot.com/14649022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199948 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/internal_document_state_data.h')
-rw-r--r--content/renderer/internal_document_state_data.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/content/renderer/internal_document_state_data.h b/content/renderer/internal_document_state_data.h
index 08ca357..223e9ad 100644
--- a/content/renderer/internal_document_state_data.h
+++ b/content/renderer/internal_document_state_data.h
@@ -13,16 +13,13 @@
#include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h"
-namespace webkit_glue {
-class AltErrorPageResourceFetcher;
-}
-
namespace WebKit {
class WebDataSource;
}
namespace content {
+class AltErrorPageResourceFetcher;
class DocumentState;
// Stores internal state per WebDataSource.
@@ -123,10 +120,10 @@ class InternalDocumentStateData : public base::SupportsUserData::Data {
}
bool is_referrer_policy_set() const { return referrer_policy_set_; }
- webkit_glue::AltErrorPageResourceFetcher* alt_error_page_fetcher() const {
+ AltErrorPageResourceFetcher* alt_error_page_fetcher() const {
return alt_error_page_fetcher_.get();
}
- void set_alt_error_page_fetcher(webkit_glue::AltErrorPageResourceFetcher* f);
+ void set_alt_error_page_fetcher(AltErrorPageResourceFetcher* f);
protected:
virtual ~InternalDocumentStateData();
@@ -144,7 +141,7 @@ class InternalDocumentStateData : public base::SupportsUserData::Data {
WebKit::WebURLRequest::CachePolicy cache_policy_override_;
bool referrer_policy_set_;
WebKit::WebReferrerPolicy referrer_policy_;
- scoped_ptr<webkit_glue::AltErrorPageResourceFetcher> alt_error_page_fetcher_;
+ scoped_ptr<AltErrorPageResourceFetcher> alt_error_page_fetcher_;
DISALLOW_COPY_AND_ASSIGN(InternalDocumentStateData);
};