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

Side by Side Diff: chrome/renderer/render_thread.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/renderer/render_process_impl.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/renderer/render_thread.h" 5 #include "chrome/renderer/render_thread.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/nullable_string16.h" 15 #include "base/nullable_string16.h"
16 #include "base/process_util.h" 16 #include "base/process_util.h"
17 #include "base/shared_memory.h" 17 #include "base/shared_memory.h"
18 #include "base/stats_table.h" 18 #include "base/stats_table.h"
19 #include "base/string_util.h" 19 #include "base/string_util.h"
20 #include "base/task.h" 20 #include "base/task.h"
21 #include "base/thread_local.h" 21 #include "base/thread_local.h"
22 #include "base/utf_string_conversions.h"
22 #include "chrome/common/appcache/appcache_dispatcher.h" 23 #include "chrome/common/appcache/appcache_dispatcher.h"
23 #include "chrome/common/child_process_logging.h" 24 #include "chrome/common/child_process_logging.h"
24 #include "chrome/common/chrome_switches.h" 25 #include "chrome/common/chrome_switches.h"
25 #include "chrome/common/db_message_filter.h" 26 #include "chrome/common/db_message_filter.h"
26 #include "chrome/common/dom_storage_common.h" 27 #include "chrome/common/dom_storage_common.h"
27 #include "chrome/common/extensions/extension_extent.h" 28 #include "chrome/common/extensions/extension_extent.h"
28 #include "chrome/common/plugin_messages.h" 29 #include "chrome/common/plugin_messages.h"
29 #include "chrome/common/render_messages.h" 30 #include "chrome/common/render_messages.h"
30 #include "chrome/common/renderer_preferences.h" 31 #include "chrome/common/renderer_preferences.h"
31 #include "chrome/common/url_constants.h" 32 #include "chrome/common/url_constants.h"
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 } 1064 }
1064 1065
1065 std::string RenderThread::GetExtensionIdByBrowseExtent(const GURL& url) { 1066 std::string RenderThread::GetExtensionIdByBrowseExtent(const GURL& url) {
1066 for (size_t i = 0; i < extension_extents_.size(); ++i) { 1067 for (size_t i = 0; i < extension_extents_.size(); ++i) {
1067 if (extension_extents_[i].browse_extent.ContainsURL(url)) 1068 if (extension_extents_[i].browse_extent.ContainsURL(url))
1068 return extension_extents_[i].extension_id; 1069 return extension_extents_[i].extension_id;
1069 } 1070 }
1070 1071
1071 return std::string(); 1072 return std::string();
1072 } 1073 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_process_impl.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698