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/browser/web_contents/web_contents_impl.h" | 5 #include "content/browser/web_contents/web_contents_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <cmath> | 9 #include <cmath> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/debug/dump_without_crashing.h" | 13 #include "base/debug/dump_without_crashing.h" |
14 #include "base/feature_list.h" | 14 #include "base/feature_list.h" |
15 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
16 #include "base/location.h" | 16 #include "base/location.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
| 19 #include "base/memory/ptr_util.h" |
19 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
20 #include "base/metrics/histogram_macros.h" | 21 #include "base/metrics/histogram_macros.h" |
21 #include "base/process/process.h" | 22 #include "base/process/process.h" |
22 #include "base/profiler/scoped_tracker.h" | 23 #include "base/profiler/scoped_tracker.h" |
23 #include "base/single_thread_task_runner.h" | 24 #include "base/single_thread_task_runner.h" |
24 #include "base/strings/string16.h" | 25 #include "base/strings/string16.h" |
25 #include "base/strings/string_number_conversions.h" | 26 #include "base/strings/string_number_conversions.h" |
26 #include "base/strings/string_util.h" | 27 #include "base/strings/string_util.h" |
27 #include "base/strings/utf_string_conversions.h" | 28 #include "base/strings/utf_string_conversions.h" |
28 #include "base/threading/thread_task_runner_handle.h" | 29 #include "base/threading/thread_task_runner_handle.h" |
(...skipping 5361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5390 GetMainFrame()->AddMessageToConsole( | 5391 GetMainFrame()->AddMessageToConsole( |
5391 content::CONSOLE_MESSAGE_LEVEL_WARNING, | 5392 content::CONSOLE_MESSAGE_LEVEL_WARNING, |
5392 base::StringPrintf("This site does not have a valid SSL " | 5393 base::StringPrintf("This site does not have a valid SSL " |
5393 "certificate! Without SSL, your site's and " | 5394 "certificate! Without SSL, your site's and " |
5394 "visitors' data is vulnerable to theft and " | 5395 "visitors' data is vulnerable to theft and " |
5395 "tampering. Get a valid SSL certificate before" | 5396 "tampering. Get a valid SSL certificate before" |
5396 " releasing your website to the public.")); | 5397 " releasing your website to the public.")); |
5397 } | 5398 } |
5398 | 5399 |
5399 } // namespace content | 5400 } // namespace content |
OLD | NEW |