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

Unified Diff: net/url_request/sdch_dictionary_fetcher.h

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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 | « net/udp/udp_socket_win.cc ('k') | net/url_request/sdch_dictionary_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/sdch_dictionary_fetcher.h
diff --git a/net/url_request/sdch_dictionary_fetcher.h b/net/url_request/sdch_dictionary_fetcher.h
index 79d87782e13ece5ef53f671d86409daed0745897..4ca25034e8e5467a7082c9efd18b40e77017eb20 100644
--- a/net/url_request/sdch_dictionary_fetcher.h
+++ b/net/url_request/sdch_dictionary_fetcher.h
@@ -15,15 +15,19 @@
#include <set>
#include <string>
+#include "base/macros.h"
+#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "net/base/sdch_manager.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "net/url_request/url_request.h"
+#include "url/gurl.h"
namespace net {
+class BoundNetLog;
class URLRequest;
class URLRequestThrottlerEntryInterface;
@@ -61,17 +65,19 @@ class NET_EXPORT SdchDictionaryFetcher : public URLRequest::Delegate,
private:
enum State {
STATE_NONE,
- STATE_IDLE,
- STATE_REQUEST_STARTED,
- STATE_REQUEST_READING,
+ STATE_SEND_REQUEST,
+ STATE_SEND_REQUEST_COMPLETE,
+ STATE_READ_BODY,
+ STATE_READ_BODY_COMPLETE,
STATE_REQUEST_COMPLETE,
};
// State machine implementation.
int DoLoop(int rv);
- int DoDispatchRequest(int rv);
- int DoRequestStarted(int rv);
- int DoRead(int rv);
+ int DoSendRequest(int rv);
+ int DoSendRequestComplete(int rv);
+ int DoReadBody(int rv);
+ int DoReadBodyComplete(int rv);
int DoCompleteRequest(int rv);
State next_state_;
« no previous file with comments | « net/udp/udp_socket_win.cc ('k') | net/url_request/sdch_dictionary_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698