Pass CreateDirectory errors up to IndexedDB.
[chromium-blink-merge.git] / content / child / request_extra_data.cc
blobac2bed12583a893c7303a9a39a5e4be636979f7e
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/child/request_extra_data.h"
7 using WebKit::WebReferrerPolicy;
8 using WebKit::WebString;
10 namespace content {
12 RequestExtraData::RequestExtraData(WebReferrerPolicy referrer_policy,
13 const WebString& custom_user_agent,
14 bool is_main_frame,
15 int64 frame_id,
16 bool parent_is_main_frame,
17 int64 parent_frame_id,
18 bool allow_download,
19 PageTransition transition_type,
20 int transferred_request_child_id,
21 int transferred_request_request_id)
22 : webkit_glue::WebURLRequestExtraDataImpl(referrer_policy,
23 custom_user_agent),
24 is_main_frame_(is_main_frame),
25 frame_id_(frame_id),
26 parent_is_main_frame_(parent_is_main_frame),
27 parent_frame_id_(parent_frame_id),
28 allow_download_(allow_download),
29 transition_type_(transition_type),
30 transferred_request_child_id_(transferred_request_child_id),
31 transferred_request_request_id_(transferred_request_request_id) {
34 RequestExtraData::~RequestExtraData() {
37 } // namespace content