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

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

Issue 11630004: DevTools: rename debugger/ to devtools/, move DevTools files into content/renderer/devtools. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: For landing Created 8 years 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 "content/browser/debugger/devtools_netlog_observer.h" 5 #include "content/browser/devtools/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/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 #include "content/public/browser/content_browser_client.h" 11 #include "content/public/browser/content_browser_client.h"
12 #include "content/public/common/resource_response.h" 12 #include "content/public/common/resource_response.h"
13 #include "net/base/load_flags.h" 13 #include "net/base/load_flags.h"
14 #include "net/http/http_response_headers.h" 14 #include "net/http/http_response_headers.h"
15 #include "net/http/http_util.h" 15 #include "net/http/http_util.h"
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 dev_tools_net_log_observer->request_to_encoded_data_length_.find( 320 dev_tools_net_log_observer->request_to_encoded_data_length_.find(
321 source_id); 321 source_id);
322 if (it == dev_tools_net_log_observer->request_to_encoded_data_length_.end()) 322 if (it == dev_tools_net_log_observer->request_to_encoded_data_length_.end())
323 return -1; 323 return -1;
324 int encoded_data_length = it->second; 324 int encoded_data_length = it->second;
325 it->second = 0; 325 it->second = 0;
326 return encoded_data_length; 326 return encoded_data_length;
327 } 327 }
328 328
329 } // namespace content 329 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_netlog_observer.h ('k') | content/browser/devtools/devtools_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698