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

Unified Diff: mock_http_fetcher.h

Issue 5205002: AU: Manual proxy support (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: missed one fix for review Created 10 years, 1 month 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 | « main.cc ('k') | multi_http_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mock_http_fetcher.h
diff --git a/mock_http_fetcher.h b/mock_http_fetcher.h
index dfe61a73cd836146fe491290b93f2cdf07c54d7b..b46e0237aa6936a35e7b2b5fb43f6fe247849c37 100644
--- a/mock_http_fetcher.h
+++ b/mock_http_fetcher.h
@@ -6,8 +6,10 @@
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_MOCK_HTTP_FETCHER_H__
#include <vector>
+
+#include <base/logging.h>
#include <glib.h>
-#include "base/logging.h"
+
#include "update_engine/http_fetcher.h"
// This is a mock implementation of HttpFetcher which is useful for testing.
@@ -26,8 +28,11 @@ class MockHttpFetcher : public HttpFetcher {
public:
// The data passed in here is copied and then passed to the delegate after
// the transfer begins.
- MockHttpFetcher(const char* data, size_t size)
- : sent_size_(0),
+ MockHttpFetcher(const char* data,
+ size_t size,
+ ProxyResolver* proxy_resolver)
+ : HttpFetcher(proxy_resolver),
+ sent_size_(0),
timeout_source_(NULL),
timout_tag_(0),
paused_(false),
« no previous file with comments | « main.cc ('k') | multi_http_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698