| 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/navigation_controller_impl.h" | 5 #include "content/browser/frame_host/navigation_controller_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/strings/string_number_conversions.h" // Temporary | 10 #include "base/strings/string_number_conversions.h" // Temporary |
| 11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "content/browser/browser_url_handler_impl.h" | 14 #include "content/browser/browser_url_handler_impl.h" |
| 15 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" | 15 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
| 16 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 16 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
| 17 #include "content/browser/frame_host/debug_urls.h" |
| 18 #include "content/browser/frame_host/interstitial_page_impl.h" |
| 19 #include "content/browser/frame_host/navigation_entry_impl.h" |
| 20 #include "content/browser/frame_host/web_contents_screenshot_manager.h" |
| 17 #include "content/browser/renderer_host/render_view_host_impl.h" // Temporary | 21 #include "content/browser/renderer_host/render_view_host_impl.h" // Temporary |
| 18 #include "content/browser/site_instance_impl.h" | 22 #include "content/browser/site_instance_impl.h" |
| 19 #include "content/browser/web_contents/debug_urls.h" | |
| 20 #include "content/browser/web_contents/interstitial_page_impl.h" | |
| 21 #include "content/browser/web_contents/navigation_entry_impl.h" | |
| 22 #include "content/browser/web_contents/web_contents_screenshot_manager.h" | |
| 23 #include "content/common/view_messages.h" | 23 #include "content/common/view_messages.h" |
| 24 #include "content/public/browser/browser_context.h" | 24 #include "content/public/browser/browser_context.h" |
| 25 #include "content/public/browser/content_browser_client.h" | 25 #include "content/public/browser/content_browser_client.h" |
| 26 #include "content/public/browser/invalidate_type.h" | 26 #include "content/public/browser/invalidate_type.h" |
| 27 #include "content/public/browser/navigation_details.h" | 27 #include "content/public/browser/navigation_details.h" |
| 28 #include "content/public/browser/notification_service.h" | 28 #include "content/public/browser/notification_service.h" |
| 29 #include "content/public/browser/notification_types.h" | 29 #include "content/public/browser/notification_types.h" |
| 30 #include "content/public/browser/render_widget_host.h" | 30 #include "content/public/browser/render_widget_host.h" |
| 31 #include "content/public/browser/render_widget_host_view.h" | 31 #include "content/public/browser/render_widget_host_view.h" |
| 32 #include "content/public/browser/storage_partition.h" | 32 #include "content/public/browser/storage_partition.h" |
| 33 #include "content/public/browser/user_metrics.h" | 33 #include "content/public/browser/user_metrics.h" |
| 34 #include "content/public/browser/web_contents_delegate.h" | |
| 35 #include "content/public/common/content_client.h" | 34 #include "content/public/common/content_client.h" |
| 36 #include "content/public/common/content_constants.h" | 35 #include "content/public/common/content_constants.h" |
| 37 #include "content/public/common/url_constants.h" | 36 #include "content/public/common/url_constants.h" |
| 38 #include "net/base/escape.h" | 37 #include "net/base/escape.h" |
| 39 #include "net/base/mime_util.h" | 38 #include "net/base/mime_util.h" |
| 40 #include "net/base/net_util.h" | 39 #include "net/base/net_util.h" |
| 41 #include "skia/ext/platform_canvas.h" | 40 #include "skia/ext/platform_canvas.h" |
| 42 | 41 |
| 43 namespace content { | 42 namespace content { |
| 44 namespace { | 43 namespace { |
| (...skipping 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1696 } | 1695 } |
| 1697 } | 1696 } |
| 1698 } | 1697 } |
| 1699 | 1698 |
| 1700 void NavigationControllerImpl::SetGetTimestampCallbackForTest( | 1699 void NavigationControllerImpl::SetGetTimestampCallbackForTest( |
| 1701 const base::Callback<base::Time()>& get_timestamp_callback) { | 1700 const base::Callback<base::Time()>& get_timestamp_callback) { |
| 1702 get_timestamp_callback_ = get_timestamp_callback; | 1701 get_timestamp_callback_ = get_timestamp_callback; |
| 1703 } | 1702 } |
| 1704 | 1703 |
| 1705 } // namespace content | 1704 } // namespace content |
| OLD | NEW |