| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/common/navigation_params.h" | 5 #include "content/common/navigation_params.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/memory/ref_counted_memory.h" | 8 #include "base/memory/ref_counted_memory.h" |
| 9 #include "content/common/service_worker/service_worker_types.h" | 9 #include "content/common/service_worker/service_worker_types.h" |
| 10 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 CommonNavigationParams::CommonNavigationParams( | 37 CommonNavigationParams::CommonNavigationParams( |
| 38 const GURL& url, | 38 const GURL& url, |
| 39 const Referrer& referrer, | 39 const Referrer& referrer, |
| 40 ui::PageTransition transition, | 40 ui::PageTransition transition, |
| 41 FrameMsg_Navigate_Type::Value navigation_type, | 41 FrameMsg_Navigate_Type::Value navigation_type, |
| 42 bool allow_download, | 42 bool allow_download, |
| 43 bool should_replace_current_entry, | 43 bool should_replace_current_entry, |
| 44 base::TimeTicks ui_timestamp, | 44 base::TimeTicks ui_timestamp, |
| 45 FrameMsg_UILoadMetricsReportType::Value report_type, | 45 FrameMsg_UILoadMetricsReportType::Value report_type, |
| 46 const GURL& base_url_for_data_url, | 46 const GURL& data_url_with_base_url, |
| 47 const GURL& history_url_for_data_url, | 47 const GURL& history_url_for_data_url, |
| 48 LoFiState lofi_state, | 48 LoFiState lofi_state, |
| 49 const base::TimeTicks& navigation_start) | 49 const base::TimeTicks& navigation_start) |
| 50 : url(url), | 50 : url(url), |
| 51 referrer(referrer), | 51 referrer(referrer), |
| 52 transition(transition), | 52 transition(transition), |
| 53 navigation_type(navigation_type), | 53 navigation_type(navigation_type), |
| 54 allow_download(allow_download), | 54 allow_download(allow_download), |
| 55 should_replace_current_entry(should_replace_current_entry), | 55 should_replace_current_entry(should_replace_current_entry), |
| 56 ui_timestamp(ui_timestamp), | 56 ui_timestamp(ui_timestamp), |
| 57 report_type(report_type), | 57 report_type(report_type), |
| 58 base_url_for_data_url(base_url_for_data_url), | 58 data_url_with_base_url(data_url_with_base_url), |
| 59 history_url_for_data_url(history_url_for_data_url), | 59 history_url_for_data_url(history_url_for_data_url), |
| 60 lofi_state(lofi_state), | 60 lofi_state(lofi_state), |
| 61 navigation_start(navigation_start) { | 61 navigation_start(navigation_start) { |
| 62 } | 62 } |
| 63 | 63 |
| 64 CommonNavigationParams::~CommonNavigationParams() { | 64 CommonNavigationParams::~CommonNavigationParams() { |
| 65 } | 65 } |
| 66 | 66 |
| 67 BeginNavigationParams::BeginNavigationParams() | 67 BeginNavigationParams::BeginNavigationParams() |
| 68 : load_flags(0), | 68 : load_flags(0), |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 const RequestNavigationParams& request_params) | 172 const RequestNavigationParams& request_params) |
| 173 : common_params(common_params), | 173 : common_params(common_params), |
| 174 start_params(start_params), | 174 start_params(start_params), |
| 175 request_params(request_params) { | 175 request_params(request_params) { |
| 176 } | 176 } |
| 177 | 177 |
| 178 NavigationParams::~NavigationParams() { | 178 NavigationParams::~NavigationParams() { |
| 179 } | 179 } |
| 180 | 180 |
| 181 } // namespace content | 181 } // namespace content |
| OLD | NEW |