summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
authorkenneth.r.christiansen <kenneth.r.christiansen@intel.com>2014-09-25 09:11:06 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-25 16:11:15 +0000
commit1a4946d176030030e7938807f047b28ebaf8213f (patch)
tree147703b0b0049904447fa2ccd6a580a0eb17d408 /content/renderer
parent6128c200e138d3d7c52aae5e01d0af36a48b1706 (diff)
downloadchromium_src-1a4946d176030030e7938807f047b28ebaf8213f.zip
chromium_src-1a4946d176030030e7938807f047b28ebaf8213f.tar.gz
chromium_src-1a4946d176030030e7938807f047b28ebaf8213f.tar.bz2
Extend the TestRunner so that the manifest-src CSP directive can be tested from layout tests.
BUG=409996 Review URL: https://codereview.chromium.org/584553002 Cr-Commit-Position: refs/heads/master@{#296716}
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/fetchers/manifest_fetcher.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/renderer/fetchers/manifest_fetcher.h b/content/renderer/fetchers/manifest_fetcher.h
index a3afaa3..daa8f0a 100644
--- a/content/renderer/fetchers/manifest_fetcher.h
+++ b/content/renderer/fetchers/manifest_fetcher.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
+#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebURLResponse.h"
class GURL;
@@ -25,7 +26,7 @@ class ResourceFetcher;
// Helper class to download a Web Manifest. When an instance is created, the
// caller need to call Start() and wait for the passed callback to be executed.
// If the fetch fails, the callback will be called with two empty objects.
-class ManifestFetcher {
+class CONTENT_EXPORT ManifestFetcher {
public:
// This will be called asynchronously after the URL has been fetched,
// successfully or not. If there is a failure, response and data will both be