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

Unified Diff: net/proxy/proxy_script_decider.h

Issue 10534132: NetLogEventParameter to Callback refactoring 7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Update unit test Created 8 years, 6 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/proxy/proxy_script_decider.h
===================================================================
--- net/proxy/proxy_script_decider.h (revision 141814)
+++ net/proxy/proxy_script_decider.h (working copy)
@@ -6,6 +6,7 @@
#define NET_PROXY_PROXY_SCRIPT_DECIDER_H_
#pragma once
+#include <string>
#include <vector>
#include "base/memory/ref_counted.h"
@@ -131,8 +132,10 @@
// ProxyResolver doesn't |expect_pac_bytes()|.
State GetStartState() const;
- NetLogStringParameter* CreateNetLogParameterAndDetermineURL(
- const PacSource& pac_source, GURL* effective_pac_url);
+ void CreateSourceStringAndDetermineURL(
+ const PacSource& pac_source,
+ GURL* effective_pac_url,
+ std::string* source_string);
// Returns the current PAC URL we are fetching/testing.
const PacSource& current_pac_source() const;

Powered by Google App Engine
This is Rietveld 408576698