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

Side by Side Diff: extensions/browser/api/web_request/web_request_api.cc

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/browser/api/web_request/web_request_api.h" 5 #include "extensions/browser/api/web_request/web_request_api.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 bool is_incognito; 386 bool is_incognito;
387 387
388 // The event that we're currently blocked on. 388 // The event that we're currently blocked on.
389 EventTypes event; 389 EventTypes event;
390 390
391 // The number of event handlers that we are awaiting a response from. 391 // The number of event handlers that we are awaiting a response from.
392 int num_handlers_blocking; 392 int num_handlers_blocking;
393 393
394 // Pointer to NetLog to report significant changes to the request for 394 // Pointer to NetLog to report significant changes to the request for
395 // debugging. 395 // debugging.
396 const net::BoundNetLog* net_log; 396 const net::NetLogWithSource* net_log;
397 397
398 // The callback to call when we get a response from all event handlers. 398 // The callback to call when we get a response from all event handlers.
399 net::CompletionCallback callback; 399 net::CompletionCallback callback;
400 400
401 // If non-empty, this contains the new URL that the request will redirect to. 401 // If non-empty, this contains the new URL that the request will redirect to.
402 // Only valid for OnBeforeRequest and OnHeadersReceived. 402 // Only valid for OnBeforeRequest and OnHeadersReceived.
403 GURL* new_url; 403 GURL* new_url;
404 404
405 // The request headers that will be issued along with this request. Only valid 405 // The request headers that will be issued along with this request. Only valid
406 // for OnBeforeSendHeaders. 406 // for OnBeforeSendHeaders.
(...skipping 1855 matching lines...) Expand 10 before | Expand all | Expand 10 after
2262 // Since EventListeners are segmented by browser_context, check that 2262 // Since EventListeners are segmented by browser_context, check that
2263 // last, as it is exceedingly unlikely to be different. 2263 // last, as it is exceedingly unlikely to be different.
2264 return extension_id == that.extension_id && 2264 return extension_id == that.extension_id &&
2265 sub_event_name == that.sub_event_name && 2265 sub_event_name == that.sub_event_name &&
2266 web_view_instance_id == that.web_view_instance_id && 2266 web_view_instance_id == that.web_view_instance_id &&
2267 embedder_process_id == that.embedder_process_id && 2267 embedder_process_id == that.embedder_process_id &&
2268 browser_context == that.browser_context; 2268 browser_context == that.browser_context;
2269 } 2269 }
2270 2270
2271 } // namespace extensions 2271 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698