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

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

Issue 7624031: Treat files downloaded from the address bar as "always safe" (including extensions per discussion... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « content/common/request_extra_data.h ('k') | content/common/resource_dispatcher.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/common/request_extra_data.h" 5 #include "content/common/request_extra_data.h"
6 6
7 RequestExtraData::~RequestExtraData() {} 7 RequestExtraData::RequestExtraData(bool is_main_frame,
8 int64 frame_id,
9 PageTransition::Type transition_type)
10 : is_main_frame_(is_main_frame),
11 frame_id_(frame_id),
12 transition_type_(transition_type) {
13 }
8 14
9 RequestExtraData::RequestExtraData(bool is_main_frame, 15 RequestExtraData::~RequestExtraData() {
10 int64 frame_identifier)
11 : is_main_frame_(is_main_frame),
12 frame_identifier_(frame_identifier) {
13 } 16 }
OLDNEW
« no previous file with comments | « content/common/request_extra_data.h ('k') | content/common/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698