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/web_contents/navigation_controller_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/string_number_conversions.h" // Temporary | 9 #include "base/strings/string_number_conversions.h" // Temporary |
10 #include "base/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "base/time.h" | 12 #include "base/time.h" |
13 #include "content/browser/browser_url_handler_impl.h" | 13 #include "content/browser/browser_url_handler_impl.h" |
14 #include "content/browser/dom_storage/dom_storage_context_impl.h" | 14 #include "content/browser/dom_storage/dom_storage_context_impl.h" |
15 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 15 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
16 #include "content/browser/renderer_host/render_view_host_impl.h" // Temporary | 16 #include "content/browser/renderer_host/render_view_host_impl.h" // Temporary |
17 #include "content/browser/site_instance_impl.h" | 17 #include "content/browser/site_instance_impl.h" |
18 #include "content/browser/web_contents/debug_urls.h" | 18 #include "content/browser/web_contents/debug_urls.h" |
19 #include "content/browser/web_contents/interstitial_page_impl.h" | 19 #include "content/browser/web_contents/interstitial_page_impl.h" |
20 #include "content/browser/web_contents/navigation_entry_impl.h" | 20 #include "content/browser/web_contents/navigation_entry_impl.h" |
(...skipping 1660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1681 } | 1681 } |
1682 } | 1682 } |
1683 } | 1683 } |
1684 | 1684 |
1685 void NavigationControllerImpl::SetGetTimestampCallbackForTest( | 1685 void NavigationControllerImpl::SetGetTimestampCallbackForTest( |
1686 const base::Callback<base::Time()>& get_timestamp_callback) { | 1686 const base::Callback<base::Time()>& get_timestamp_callback) { |
1687 get_timestamp_callback_ = get_timestamp_callback; | 1687 get_timestamp_callback_ = get_timestamp_callback; |
1688 } | 1688 } |
1689 | 1689 |
1690 } // namespace content | 1690 } // namespace content |
OLD | NEW |