Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: content/common/navigation_params.cc

Issue 1425823002: (DEPRECATED) Send navigation_start to browser process in DidStartProvisionalLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Name change + blink layering Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 has_user_gesture(false), 66 has_user_gesture(false),
67 skip_service_worker(false), 67 skip_service_worker(false),
68 request_context_type(REQUEST_CONTEXT_TYPE_LOCATION) {} 68 request_context_type(REQUEST_CONTEXT_TYPE_LOCATION) {}
69 69
70 BeginNavigationParams::BeginNavigationParams( 70 BeginNavigationParams::BeginNavigationParams(
71 std::string method, 71 std::string method,
72 std::string headers, 72 std::string headers,
73 int load_flags, 73 int load_flags,
74 bool has_user_gesture, 74 bool has_user_gesture,
75 bool skip_service_worker, 75 bool skip_service_worker,
76 RequestContextType request_context_type) 76 RequestContextType request_context_type,
77 double renderer_navigation_start)
77 : method(method), 78 : method(method),
78 headers(headers), 79 headers(headers),
79 load_flags(load_flags), 80 load_flags(load_flags),
80 has_user_gesture(has_user_gesture), 81 has_user_gesture(has_user_gesture),
81 skip_service_worker(skip_service_worker), 82 skip_service_worker(skip_service_worker),
82 request_context_type(request_context_type) {} 83 request_context_type(request_context_type),
84 renderer_navigation_start(renderer_navigation_start) {}
83 85
84 StartNavigationParams::StartNavigationParams() 86 StartNavigationParams::StartNavigationParams()
85 : is_post(false), 87 : is_post(false),
86 #if defined(OS_ANDROID) 88 #if defined(OS_ANDROID)
87 has_user_gesture(false), 89 has_user_gesture(false),
88 #endif 90 #endif
89 transferred_request_child_id(-1), 91 transferred_request_child_id(-1),
90 transferred_request_request_id(-1) { 92 transferred_request_request_id(-1) {
91 } 93 }
92 94
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 const RequestNavigationParams& request_params) 174 const RequestNavigationParams& request_params)
173 : common_params(common_params), 175 : common_params(common_params),
174 start_params(start_params), 176 start_params(start_params),
175 request_params(request_params) { 177 request_params(request_params) {
176 } 178 }
177 179
178 NavigationParams::~NavigationParams() { 180 NavigationParams::~NavigationParams() {
179 } 181 }
180 182
181 } // namespace content 183 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698