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

Unified Diff: net/url_request/sdch_dictionary_fetcher.h

Issue 877443002: Naming and refactoring changes to SdchDictionaryFetcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync'd to p313320 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
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..dd71229f05c96f42418e5cab81ed59355b95bd16 100644
--- a/net/url_request/sdch_dictionary_fetcher.h
+++ b/net/url_request/sdch_dictionary_fetcher.h
@@ -61,17 +61,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 | « no previous file | net/url_request/sdch_dictionary_fetcher.cc » ('j') | net/url_request/sdch_dictionary_fetcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698