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

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
« no previous file with comments | « no previous file | net/interfaces/proxy_resolver_service.mojom » ('j') | net/proxy/mojo_proxy_resolver_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
+using LoadStateChangedCallback =
+ const base::Callback<void(RequestHandle, LoadState)>;
+
} // namespace net
#endif // NET_BASE_LOAD_STATES_H__
« no previous file with comments | « no previous file | net/interfaces/proxy_resolver_service.mojom » ('j') | net/proxy/mojo_proxy_resolver_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698