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

Side by Side Diff: content/public/renderer/navigation_state.cc

Issue 9808029: Prepending view-source: does not load the source of the userscript. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: allow_download_(true) Created 8 years, 7 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 | « content/public/renderer/navigation_state.h ('k') | content/renderer/render_view_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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/public/renderer/navigation_state.h" 5 #include "content/public/renderer/navigation_state.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 NavigationState::NavigationState(content::PageTransition transition_type, 9 NavigationState::NavigationState(content::PageTransition transition_type,
10 bool is_content_initiated, 10 bool is_content_initiated,
11 int32 pending_page_id, 11 int32 pending_page_id,
12 int pending_history_list_offset) 12 int pending_history_list_offset)
13 : transition_type_(transition_type), 13 : transition_type_(transition_type),
14 request_committed_(false), 14 request_committed_(false),
15 is_content_initiated_(is_content_initiated), 15 is_content_initiated_(is_content_initiated),
16 pending_page_id_(pending_page_id), 16 pending_page_id_(pending_page_id),
17 pending_history_list_offset_(pending_history_list_offset), 17 pending_history_list_offset_(pending_history_list_offset),
18 was_within_same_page_(false), 18 was_within_same_page_(false),
19 transferred_request_child_id_(-1), 19 transferred_request_child_id_(-1),
20 transferred_request_request_id_(-1) { 20 transferred_request_request_id_(-1),
21 allow_download_(true) {
21 } 22 }
22 23
23 NavigationState::~NavigationState() {} 24 NavigationState::~NavigationState() {}
24 25
25 } // namespace content 26 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/navigation_state.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698