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

Unified Diff: chrome/browser/net/test_url_fetcher_factory.h

Issue 552216: This CL makes the TranslationService class send the text to be translated to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « no previous file | chrome/browser/net/url_fetcher.h » ('j') | chrome/browser/renderer_host/translation_service.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/test_url_fetcher_factory.h
===================================================================
--- chrome/browser/net/test_url_fetcher_factory.h (revision 37411)
+++ chrome/browser/net/test_url_fetcher_factory.h (working copy)
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_NET_TEST_URL_FETCHER_FACTORY_H_
#include <map>
+#include <string>
#include "chrome/browser/net/url_fetcher.h"
#include "googleurl/src/gurl.h"
@@ -48,6 +49,9 @@
// in your tests.
const GURL& original_url() const { return original_url_; }
+ // Returns the data uploaded on this URLFetcher.
+ const std::string& upload_data() const { return URLFetcher::upload_data(); }
+
private:
const GURL original_url_;
« no previous file with comments | « no previous file | chrome/browser/net/url_fetcher.h » ('j') | chrome/browser/renderer_host/translation_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698