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

Unified Diff: net/url_request/url_request_netlog_params.h

Issue 10399083: Make NetLog take in callbacks that return Values (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix net-internals Created 8 years, 7 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/url_request_netlog_params.h
===================================================================
--- net/url_request/url_request_netlog_params.h (revision 137673)
+++ net/url_request/url_request_netlog_params.h (working copy)
@@ -25,14 +25,6 @@
int load_flags,
RequestPriority priority);
- const GURL& url() const {
- return url_;
- }
-
- int load_flags() const {
- return load_flags_;
- }
-
virtual base::Value* ToValue() const OVERRIDE;
protected:
@@ -47,6 +39,10 @@
DISALLOW_COPY_AND_ASSIGN(URLRequestStartEventParameters);
};
+bool NET_EXPORT StartEventLoadFlagsFromEventParameters(
+ base::Value* event_params,
+ int* load_flags);
+
} // namespace net
#endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_

Powered by Google App Engine
This is Rietveld 408576698