Home | History | Annotate | Download | only in download
      1 // Copyright (c) 2010 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.
      4 
      5 #include "chrome/browser/download/save_types.h"
      6 
      7 
      8 SaveFileCreateInfo::SaveFileCreateInfo(const FilePath& path,
      9                                        const GURL& url,
     10                                        SaveFileSource save_source,
     11                                        int32 save_id)
     12     : path(path),
     13       url(url),
     14       save_id(save_id),
     15       render_process_id(-1),
     16       render_view_id(-1),
     17       request_id(-1),
     18       total_bytes(0),
     19       save_source(save_source) {
     20 }
     21 
     22 SaveFileCreateInfo::SaveFileCreateInfo()
     23     : save_id(-1),
     24       render_process_id(-1),
     25       render_view_id(-1),
     26       request_id(-1),
     27       total_bytes(0),
     28       save_source(SAVE_FILE_FROM_UNKNOWN) {
     29 }
     30 
     31 SaveFileCreateInfo::~SaveFileCreateInfo() {}
     32