OLD | NEW |
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/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/debug/trace_event.h" | 15 #include "base/debug/trace_event.h" |
16 #include "base/json/json_reader.h" | 16 #include "base/json/json_reader.h" |
17 #include "base/json/json_writer.h" | 17 #include "base/json/json_writer.h" |
18 #include "base/lazy_instance.h" | 18 #include "base/lazy_instance.h" |
19 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
20 #include "base/message_loop_proxy.h" | 20 #include "base/message_loop_proxy.h" |
21 #include "base/metrics/histogram.h" | 21 #include "base/metrics/histogram.h" |
22 #include "base/path_service.h" | 22 #include "base/path_service.h" |
23 #include "base/process_util.h" | 23 #include "base/process_util.h" |
24 #include "base/string_number_conversions.h" | 24 #include "base/string_number_conversions.h" |
25 #include "base/string_piece.h" | |
26 #include "base/string_util.h" | 25 #include "base/string_util.h" |
| 26 #include "base/strings/string_piece.h" |
27 #include "base/strings/string_split.h" | 27 #include "base/strings/string_split.h" |
28 #include "base/strings/sys_string_conversions.h" | 28 #include "base/strings/sys_string_conversions.h" |
29 #include "base/time.h" | 29 #include "base/time.h" |
30 #include "base/utf_string_conversions.h" | 30 #include "base/utf_string_conversions.h" |
31 #include "content/common/appcache/appcache_dispatcher.h" | 31 #include "content/common/appcache/appcache_dispatcher.h" |
32 #include "content/common/child_thread.h" | 32 #include "content/common/child_thread.h" |
33 #include "content/common/clipboard_messages.h" | 33 #include "content/common/clipboard_messages.h" |
34 #include "content/common/content_constants_internal.h" | 34 #include "content/common/content_constants_internal.h" |
35 #include "content/common/database_messages.h" | 35 #include "content/common/database_messages.h" |
36 #include "content/common/drag_messages.h" | 36 #include "content/common/drag_messages.h" |
(...skipping 6566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6603 WebURL url = icon_urls[i].iconURL(); | 6603 WebURL url = icon_urls[i].iconURL(); |
6604 if (!url.isEmpty()) | 6604 if (!url.isEmpty()) |
6605 urls.push_back(FaviconURL(url, | 6605 urls.push_back(FaviconURL(url, |
6606 ToFaviconType(icon_urls[i].iconType()))); | 6606 ToFaviconType(icon_urls[i].iconType()))); |
6607 } | 6607 } |
6608 SendUpdateFaviconURL(urls); | 6608 SendUpdateFaviconURL(urls); |
6609 } | 6609 } |
6610 | 6610 |
6611 | 6611 |
6612 } // namespace content | 6612 } // namespace content |
OLD | NEW |