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

Side by Side Diff: content/browser/frame_host/navigation_entry_impl.h

Issue 906283003: PlzNavigate: Support data urls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + change to unit test Created 5 years, 9 months 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
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_entry_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 218
219 // Indicates which FrameTreeNode to navigate. Currently only used if the 219 // Indicates which FrameTreeNode to navigate. Currently only used if the
220 // --site-per-process flag is passed. 220 // --site-per-process flag is passed.
221 int64 frame_tree_node_id() const { 221 int64 frame_tree_node_id() const {
222 return frame_tree_node_id_; 222 return frame_tree_node_id_;
223 } 223 }
224 void set_frame_tree_node_id(int64 frame_tree_node_id) { 224 void set_frame_tree_node_id(int64 frame_tree_node_id) {
225 frame_tree_node_id_ = frame_tree_node_id; 225 frame_tree_node_id_ = frame_tree_node_id;
226 } 226 }
227 227
228 // Returns the history URL for a data URL to use in Blink.
229 GURL GetHistoryURLForDataURL() const;
230
228 #if defined(OS_ANDROID) 231 #if defined(OS_ANDROID)
229 base::TimeTicks intent_received_timestamp() const { 232 base::TimeTicks intent_received_timestamp() const {
230 return intent_received_timestamp_; 233 return intent_received_timestamp_;
231 } 234 }
232 235
233 void set_intent_received_timestamp( 236 void set_intent_received_timestamp(
234 const base::TimeTicks intent_received_timestamp) { 237 const base::TimeTicks intent_received_timestamp) {
235 intent_received_timestamp_ = intent_received_timestamp; 238 intent_received_timestamp_ = intent_received_timestamp;
236 } 239 }
237 #endif 240 #endif
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 // persisted, unless specific data is taken out/put back in at save/restore 368 // persisted, unless specific data is taken out/put back in at save/restore
366 // time (see TabNavigation for an example of this). 369 // time (see TabNavigation for an example of this).
367 std::map<std::string, base::string16> extra_data_; 370 std::map<std::string, base::string16> extra_data_;
368 371
369 // Copy and assignment is explicitly allowed for this class. 372 // Copy and assignment is explicitly allowed for this class.
370 }; 373 };
371 374
372 } // namespace content 375 } // namespace content
373 376
374 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ 377 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698