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

Unified Diff: chrome/browser/extensions/extension_webrequest_api.h

Issue 8511063: Improve merging of header modifications in webRequest.OnHeadersReceived (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabled browser tests again Created 9 years, 1 month 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 | chrome/browser/extensions/extension_webrequest_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_webrequest_api.h
diff --git a/chrome/browser/extensions/extension_webrequest_api.h b/chrome/browser/extensions/extension_webrequest_api.h
index 8e28f4191df023433c6f8ee77d9af3258a6cffe4..28a51470b2f58c36d2632e207ac67ffc4f0048f8 100644
--- a/chrome/browser/extensions/extension_webrequest_api.h
+++ b/chrome/browser/extensions/extension_webrequest_api.h
@@ -15,6 +15,7 @@
#include "base/memory/singleton.h"
#include "base/time.h"
#include "chrome/browser/extensions/extension_function.h"
+#include "chrome/browser/extensions/extension_webrequest_api_helpers.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/url_pattern_set.h"
#include "ipc/ipc_message.h"
@@ -31,6 +32,7 @@ class RenderProcessHost;
namespace base {
class DictionaryValue;
class ListValue;
+class StringValue;
}
namespace net {
@@ -107,8 +109,9 @@ class ExtensionWebRequestEventRouter {
bool cancel;
GURL new_url;
scoped_ptr<net::HttpRequestHeaders> request_headers;
- // Contains all header lines after the status line, lines are \n separated.
- std::string response_headers_string;
+ scoped_ptr<extension_webrequest_api_helpers::ResponseHeaders>
+ response_headers;
+
scoped_ptr<net::AuthCredentials> auth_credentials;
EventResponse(const std::string& extension_id,
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_webrequest_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698