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

Side by Side Diff: content/public/common/selected_file_info.h

Issue 10669023: Start consolidating non-port specific code to ui/base/dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clenaup Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef CONTENT_PUBLIC_COMMON_SELECTED_FILE_INFO_H_
6 #define CONTENT_PUBLIC_COMMON_SELECTED_FILE_INFO_H_
7 #pragma once
8
9 #include <vector>
10
11 #include "base/file_path.h"
12 #include "base/string16.h"
13 #include "content/common/content_export.h"
14
15 namespace content {
16
17 // Struct used for passing selected file info to WebKit.
18 struct CONTENT_EXPORT SelectedFileInfo {
19 // The real path to the selected file. This can be a snapshot file with a
20 // human unreadable name like /blah/.d41d8cd98f00b204e9800998ecf8427e.
21 FilePath path;
22
23 // This field is optional. The display name contains only the base name
24 // portion of a file name (ex. no path separators), and used for displaying
25 // selected file names. If this field is empty, the base name portion of
26 // |path| is used for displaying.
27 FilePath::StringType display_name;
28
29 SelectedFileInfo() {}
30 SelectedFileInfo(const FilePath& in_path,
31 const FilePath::StringType& in_display_name)
32 : path(in_path),
33 display_name(in_display_name) {
34 }
35 };
36
37 } // namespace content
38
39 #endif // CONTENT_PUBLIC_COMMON_SELECTED_FILE_INFO_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698