forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathselected_file_info.cc
28 lines (20 loc) · 929 Bytes
/
selected_file_info.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 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.
#include "ui/shell_dialogs/selected_file_info.h"
namespace ui {
SelectedFileInfo::SelectedFileInfo() {}
SelectedFileInfo::SelectedFileInfo(const base::FilePath& in_file_path,
const base::FilePath& in_local_path)
: file_path(in_file_path),
local_path(in_local_path) {
display_name = in_file_path.BaseName().value();
}
SelectedFileInfo::SelectedFileInfo(const SelectedFileInfo& other) = default;
SelectedFileInfo::SelectedFileInfo(SelectedFileInfo&& other) = default;
SelectedFileInfo::~SelectedFileInfo() {}
SelectedFileInfo& SelectedFileInfo::operator=(const SelectedFileInfo& other) =
default;
SelectedFileInfo& SelectedFileInfo::operator=(SelectedFileInfo&& other) =
default;
} // namespace ui