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

Side by Side Diff: content/browser/debugger/devtools_netlog_observer.cc

Issue 8346017: Move content_browser_client.h to public, and while at it, move (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a file post merge. Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/browser/debugger/devtools_netlog_observer.h" 5 #include "content/browser/debugger/devtools_netlog_observer.h"
6 6
7 #include "base/string_tokenizer.h" 7 #include "base/string_tokenizer.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "content/browser/browser_thread.h" 10 #include "content/browser/browser_thread.h"
11 #include "content/browser/content_browser_client.h"
12 #include "content/common/resource_response.h" 11 #include "content/common/resource_response.h"
12 #include "content/public/browser/content_browser_client.h"
13 #include "net/base/load_flags.h" 13 #include "net/base/load_flags.h"
14 #include "net/http/http_net_log_params.h" 14 #include "net/http/http_net_log_params.h"
15 #include "net/http/http_response_headers.h" 15 #include "net/http/http_response_headers.h"
16 #include "net/http/http_util.h" 16 #include "net/http/http_util.h"
17 #include "net/url_request/url_request.h" 17 #include "net/url_request/url_request.h"
18 #include "net/url_request/url_request_netlog_params.h" 18 #include "net/url_request/url_request_netlog_params.h"
19 #include "webkit/glue/resource_loader_bridge.h" 19 #include "webkit/glue/resource_loader_bridge.h"
20 20
21 const size_t kMaxNumEntries = 1000; 21 const size_t kMaxNumEntries = 1000;
22 22
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 286
287 RequestToEncodedDataLengthMap::iterator it = 287 RequestToEncodedDataLengthMap::iterator it =
288 dev_tools_net_log_observer->request_to_encoded_data_length_.find( 288 dev_tools_net_log_observer->request_to_encoded_data_length_.find(
289 source_id); 289 source_id);
290 if (it == dev_tools_net_log_observer->request_to_encoded_data_length_.end()) 290 if (it == dev_tools_net_log_observer->request_to_encoded_data_length_.end())
291 return -1; 291 return -1;
292 int encoded_data_length = it->second; 292 int encoded_data_length = it->second;
293 it->second = 0; 293 it->second = 0;
294 return encoded_data_length; 294 return encoded_data_length;
295 } 295 }
OLDNEW
« no previous file with comments | « content/browser/debugger/devtools_manager_unittest.cc ('k') | content/browser/debugger/render_view_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698