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

Unified Diff: headless/public/util/testing/generic_url_request_mocks.h

Issue 2775693003: Fix missing HEADLESS_EXPORT defines (Closed)
Patch Set: Added extra headless_export Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « headless/public/util/managed_dispatch_url_request_job.h ('k') | headless/public/util/url_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/util/testing/generic_url_request_mocks.h
diff --git a/headless/public/util/testing/generic_url_request_mocks.h b/headless/public/util/testing/generic_url_request_mocks.h
index 8483e569139dac00dc064587aa8d297dca03951c..177c3b1b49f7bf4d7ffec9981b11c330c0e4ac15 100644
--- a/headless/public/util/testing/generic_url_request_mocks.h
+++ b/headless/public/util/testing/generic_url_request_mocks.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/macros.h"
+#include "headless/public/headless_export.h"
#include "headless/public/util/generic_url_request_job.h"
#include "headless/public/util/testing/generic_url_request_mocks.h"
#include "net/cookies/cookie_store.h"
@@ -18,7 +19,8 @@
namespace headless {
-class MockGenericURLRequestJobDelegate : public GenericURLRequestJob::Delegate {
+class HEADLESS_EXPORT MockGenericURLRequestJobDelegate
+ : public GenericURLRequestJob::Delegate {
public:
MockGenericURLRequestJobDelegate();
~MockGenericURLRequestJobDelegate() override;
@@ -50,7 +52,7 @@ class MockGenericURLRequestJobDelegate : public GenericURLRequestJob::Delegate {
};
// TODO(alexclarke): We may be able to replace this with the CookieMonster.
-class MockCookieStore : public net::CookieStore {
+class HEADLESS_EXPORT MockCookieStore : public net::CookieStore {
public:
MockCookieStore();
~MockCookieStore() override;
@@ -128,7 +130,8 @@ class MockCookieStore : public net::CookieStore {
DISALLOW_COPY_AND_ASSIGN(MockCookieStore);
};
-class MockURLRequestDelegate : public net::URLRequest::Delegate {
+class HEADLESS_EXPORT MockURLRequestDelegate
+ : public net::URLRequest::Delegate {
public:
MockURLRequestDelegate();
~MockURLRequestDelegate() override;
« no previous file with comments | « headless/public/util/managed_dispatch_url_request_job.h ('k') | headless/public/util/url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698