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

Side by Side Diff: content/public/common/drop_data.cc

Issue 211383007: Use FilePaths in content::DropData to avoid redundant conversions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang-format Created 6 years, 9 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/drop_data.h" 5 #include "content/public/common/drop_data.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 DropData::FileInfo::FileInfo() {
10 }
11
12 DropData::FileInfo::FileInfo(const base::string16& path,
13 const base::string16& display_name)
14 : path(path),
15 display_name(display_name) {
16 }
17
18 DropData::DropData() 9 DropData::DropData()
19 : did_originate_from_renderer(false), 10 : did_originate_from_renderer(false),
20 referrer_policy(blink::WebReferrerPolicyDefault) {} 11 referrer_policy(blink::WebReferrerPolicyDefault) {}
21 12
22 DropData::~DropData() { 13 DropData::~DropData() {
23 } 14 }
24 15
25 } // namespace content 16 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698