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

Unified Diff: net/base/load_states.h

Issue 939503004: Add LoadState reporting to the mojo proxy resolver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@proxy-resolver-mojo
Patch Set: Created 5 years, 10 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/base/load_states.h
diff --git a/net/base/load_states.h b/net/base/load_states.h
index e0915bacbe35b7c5104e8fbf10e7d0970ad60137..aa21c5f8eaa4a7d8a09ebb2025f3740d4996cbab 100644
--- a/net/base/load_states.h
+++ b/net/base/load_states.h
@@ -5,6 +5,7 @@
#ifndef NET_BASE_LOAD_STATES_H__
#define NET_BASE_LOAD_STATES_H__
+#include "base/callback_forward.h"
#include "base/strings/string16.h"
namespace net {
@@ -30,6 +31,10 @@ struct LoadStateWithParam {
: state(state), param(param) {}
};
+template <typename RequestHandle>
eroman 2015/03/06 05:13:01 I don't feel this belongs in the generic load_stat
Sam McNally 2015/03/06 09:33:02 Done.
+using LoadStateChangedCallback =
+ const base::Callback<void(RequestHandle, LoadState)>;
+
} // namespace net
#endif // NET_BASE_LOAD_STATES_H__

Powered by Google App Engine
This is Rietveld 408576698