| Index: content/browser/download/download_state_info.cc
|
| diff --git a/content/browser/download/download_state_info.cc b/content/browser/download/download_state_info.cc
|
| index dd26812317dfbef49c74439ff061fe6e1d52b3c9..0031eb3fbb36a465a0c81c4727c4db659c072a79 100644
|
| --- a/content/browser/download/download_state_info.cc
|
| +++ b/content/browser/download/download_state_info.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -14,25 +14,12 @@ DownloadStateInfo::DownloadStateInfo()
|
| danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS) {
|
| }
|
|
|
| -DownloadStateInfo::DownloadStateInfo(
|
| - bool has_user_gesture,
|
| - bool prompt_user_for_save_location)
|
| +DownloadStateInfo::DownloadStateInfo(const FilePath& forced_name,
|
| + bool has_user_gesture,
|
| + content::PageTransition transition_type,
|
| + bool prompt_user_for_save_location)
|
| : path_uniquifier(0),
|
| has_user_gesture(has_user_gesture),
|
| - transition_type(content::PAGE_TRANSITION_LINK),
|
| - prompt_user_for_save_location(prompt_user_for_save_location),
|
| - danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS) {
|
| -}
|
| -
|
| -DownloadStateInfo::DownloadStateInfo(
|
| - const FilePath& target,
|
| - const FilePath& forced_name,
|
| - bool has_user_gesture,
|
| - content::PageTransition transition_type,
|
| - bool prompt_user_for_save_location)
|
| - : target_name(target),
|
| - path_uniquifier(0),
|
| - has_user_gesture(has_user_gesture),
|
| transition_type(transition_type),
|
| prompt_user_for_save_location(prompt_user_for_save_location),
|
| danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS),
|
|
|