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

Side by Side Diff: chrome/browser/android/download/download_overwrite_info.cc

Issue 580043002: [Android] Prompt with infobar on filename conflict (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: avoided Java-only infobar Created 5 years, 10 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
OLDNEW
(Empty)
1 // Copyright (c) 2015 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/android/download/download_overwrite_info.h"
6
7 namespace chrome {
8 namespace android {
9
10 DownloadOverwriteInfo::DownloadOverwriteInfo(std::string file_name,
11 std::string dir_name,
12 std::string dir_full_path,
13 std::string url,
14 std::string content_disposition,
15 std::string user_agent,
16 std::string cookie,
17 std::string referer,
18 bool has_user_gesture,
19 std::string mime_type,
20 int64 content_length,
21 bool is_GET_request)
22 : file_name(file_name),
23 dir_name(dir_name),
24 dir_full_path(dir_full_path),
25 url(url),
26 content_disposition(content_disposition),
27 user_agent(user_agent),
28 cookie(cookie),
29 referer(referer),
30 has_user_gesture(has_user_gesture),
31 mime_type(mime_type),
32 content_length(content_length),
33 is_GET_request(is_GET_request),
34 overwrite(false),
35 dismissed(false) {
36 }
37
38 DownloadOverwriteInfo::~DownloadOverwriteInfo() {
39 }
40
41 } // namespace android
42 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698