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

Unified Diff: chrome/browser/net/url_fetcher.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
Index: chrome/browser/net/url_fetcher.h
===================================================================
--- chrome/browser/net/url_fetcher.h (revision 37411)
+++ chrome/browser/net/url_fetcher.h (working copy)
@@ -10,6 +10,8 @@
#ifndef CHROME_BROWSER_NET_URL_FETCHER_H_
#define CHROME_BROWSER_NET_URL_FETCHER_H_
+#include <string>
+
#include "base/leak_tracker.h"
#include "base/message_loop.h"
#include "base/ref_counted.h"
@@ -148,6 +150,9 @@
// Returns the delegate.
Delegate* delegate() const;
+ // Used by tests.
+ const std::string& upload_data() const;
+
private:
class Core;

Powered by Google App Engine
This is Rietveld 408576698