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

Unified Diff: chromeos/login/auth/mock_url_fetchers.h

Issue 402403004: Refactoring : Move OnlineAttempt to chromeos/login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/login/auth/mock_url_fetchers.h
diff --git a/chrome/browser/chromeos/login/auth/mock_url_fetchers.h b/chromeos/login/auth/mock_url_fetchers.h
similarity index 83%
rename from chrome/browser/chromeos/login/auth/mock_url_fetchers.h
rename to chromeos/login/auth/mock_url_fetchers.h
index ab58034babf60bd9460b5f373d138d397cc63adb..e5597b6d84e1e90f4c8ea300c5e7dae8efc3bb93 100644
--- a/chrome/browser/chromeos/login/auth/mock_url_fetchers.h
+++ b/chromeos/login/auth/mock_url_fetchers.h
@@ -2,14 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_URL_FETCHERS_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_URL_FETCHERS_H_
+#ifndef CHROMEOS_LOGIN_AUTH_MOCK_URL_FETCHERS_H_
+#define CHROMEOS_LOGIN_AUTH_MOCK_URL_FETCHERS_H_
#include <string>
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
+#include "chromeos/chromeos_export.h"
#include "net/url_request/test_url_fetcher_factory.h"
#include "net/url_request/url_request_status.h"
#include "url/gurl.h"
@@ -22,7 +23,7 @@ namespace chromeos {
// Simulates a URL fetch by posting a delayed task. This fetch expects to be
// canceled, and fails the test if it is not
-class ExpectCanceledFetcher : public net::TestURLFetcher {
+class CHROMEOS_EXPORT ExpectCanceledFetcher : public net::TestURLFetcher {
Nikita (slow) 2014/07/22 14:23:56 You should drop CHROMEOS_EXPORT for these classes
Denis Kuznetsov (DE-MUC) 2014/07/22 15:41:31 Done.
public:
ExpectCanceledFetcher(bool success,
const GURL& url,
@@ -40,7 +41,7 @@ class ExpectCanceledFetcher : public net::TestURLFetcher {
DISALLOW_COPY_AND_ASSIGN(ExpectCanceledFetcher);
};
-class GotCanceledFetcher : public net::TestURLFetcher {
+class CHROMEOS_EXPORT GotCanceledFetcher : public net::TestURLFetcher {
public:
GotCanceledFetcher(bool success,
const GURL& url,
@@ -55,7 +56,7 @@ class GotCanceledFetcher : public net::TestURLFetcher {
DISALLOW_COPY_AND_ASSIGN(GotCanceledFetcher);
};
-class SuccessFetcher : public net::TestURLFetcher {
+class CHROMEOS_EXPORT SuccessFetcher : public net::TestURLFetcher {
public:
SuccessFetcher(bool success,
const GURL& url,
@@ -70,7 +71,7 @@ class SuccessFetcher : public net::TestURLFetcher {
DISALLOW_COPY_AND_ASSIGN(SuccessFetcher);
};
-class FailFetcher : public net::TestURLFetcher {
+class CHROMEOS_EXPORT FailFetcher : public net::TestURLFetcher {
public:
FailFetcher(bool success,
const GURL& url,
@@ -85,7 +86,7 @@ class FailFetcher : public net::TestURLFetcher {
DISALLOW_COPY_AND_ASSIGN(FailFetcher);
};
-class CaptchaFetcher : public net::TestURLFetcher {
+class CHROMEOS_EXPORT CaptchaFetcher : public net::TestURLFetcher {
public:
CaptchaFetcher(bool success,
const GURL& url,
@@ -108,7 +109,7 @@ class CaptchaFetcher : public net::TestURLFetcher {
DISALLOW_COPY_AND_ASSIGN(CaptchaFetcher);
};
-class HostedFetcher : public net::TestURLFetcher {
+class CHROMEOS_EXPORT HostedFetcher : public net::TestURLFetcher {
public:
HostedFetcher(bool success,
const GURL& url,
@@ -125,4 +126,4 @@ class HostedFetcher : public net::TestURLFetcher {
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_URL_FETCHERS_H_
+#endif // CHROMEOS_LOGIN_AUTH_MOCK_URL_FETCHERS_H_

Powered by Google App Engine
This is Rietveld 408576698