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

Unified Diff: chrome/browser/spellchecker/spelling_service_client_unittest.cc

Issue 10581012: Move test_url_fetcher_factory.* from content/ to net/url_request (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove export annotations Created 8 years, 6 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: chrome/browser/spellchecker/spelling_service_client_unittest.cc
diff --git a/chrome/browser/spellchecker/spelling_service_client_unittest.cc b/chrome/browser/spellchecker/spelling_service_client_unittest.cc
index 85bd814bf1eaf9a5eccf51a9ca73289cc3e49f1c..268915e7ec6d8182d1a4dd592182650c36626b1c 100644
--- a/chrome/browser/spellchecker/spelling_service_client_unittest.cc
+++ b/chrome/browser/spellchecker/spelling_service_client_unittest.cc
@@ -15,8 +15,8 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/spellcheck_result.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/public/test/test_url_fetcher_factory.h"
#include "net/base/load_flags.h"
+#include "net/url_request/test_url_fetcher_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -26,7 +26,7 @@ namespace {
// the Spelling service. This class also verifies the SpellingServiceClient
// class does not either send cookies to the Spelling service or accept cookies
// from it.
-class TestSpellingURLFetcher : public TestURLFetcher {
+class TestSpellingURLFetcher : public net::TestURLFetcher {
public:
TestSpellingURLFetcher(int id,
const GURL& url,
@@ -35,7 +35,7 @@ class TestSpellingURLFetcher : public TestURLFetcher {
const std::string& text,
int status,
const std::string& response)
- : TestURLFetcher(0, url, d),
+ : net::TestURLFetcher(0, url, d),
version_(base::StringPrintf("v%d", version)),
text_(text) {
set_response_code(status);
@@ -71,7 +71,7 @@ class TestSpellingURLFetcher : public TestURLFetcher {
EXPECT_TRUE(value->GetString("params.origin_country", &country));
EXPECT_EQ("USA", country);
- TestURLFetcher::SetUploadData(upload_content_type, upload_content);
+ net::TestURLFetcher::SetUploadData(upload_content_type, upload_content);
}
virtual void Start() OVERRIDE {
« no previous file with comments | « chrome/browser/signin/ubertoken_fetcher_unittest.cc ('k') | chrome/browser/sync/glue/http_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698