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

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

Issue 12087091: Move string tokenizer to base/strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 7 years, 10 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) 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/devtools/devtools_netlog_observer.h" 5 #include "content/browser/devtools/devtools_netlog_observer.h"
6 6
7 #include "base/string_tokenizer.h"
8 #include "base/string_util.h" 7 #include "base/string_util.h"
9 #include "base/values.h" 8 #include "base/values.h"
10 #include "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
11 #include "content/public/browser/content_browser_client.h" 10 #include "content/public/browser/content_browser_client.h"
12 #include "content/public/common/resource_response.h" 11 #include "content/public/common/resource_response.h"
13 #include "net/base/load_flags.h" 12 #include "net/base/load_flags.h"
14 #include "net/http/http_response_headers.h" 13 #include "net/http/http_response_headers.h"
15 #include "net/http/http_util.h" 14 #include "net/http/http_util.h"
16 #include "net/spdy/spdy_header_block.h" 15 #include "net/spdy/spdy_header_block.h"
17 #include "net/url_request/url_request.h" 16 #include "net/url_request/url_request.h"
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 dev_tools_net_log_observer->request_to_encoded_data_length_.find( 319 dev_tools_net_log_observer->request_to_encoded_data_length_.find(
321 source_id); 320 source_id);
322 if (it == dev_tools_net_log_observer->request_to_encoded_data_length_.end()) 321 if (it == dev_tools_net_log_observer->request_to_encoded_data_length_.end())
323 return -1; 322 return -1;
324 int encoded_data_length = it->second; 323 int encoded_data_length = it->second;
325 it->second = 0; 324 it->second = 0;
326 return encoded_data_length; 325 return encoded_data_length;
327 } 326 }
328 327
329 } // namespace content 328 } // namespace content
OLDNEW
« no previous file with comments | « content/app/android/library_loader_hooks.cc ('k') | content/common/android/address_parser_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698