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

Side by Side Diff: base/value_conversions.h

Issue 6747014: Base: Last set of files to use BASE_API (for base.dll) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef BASE_VALUE_CONVERSIONS_H_ 5 #ifndef BASE_VALUE_CONVERSIONS_H_
6 #define BASE_VALUE_CONVERSIONS_H_ 6 #define BASE_VALUE_CONVERSIONS_H_
7 #pragma once 7 #pragma once
8 8
9 // This file contains methods to convert a |FilePath| to a |Value| and back. 9 // This file contains methods to convert a |FilePath| to a |Value| and back.
10 10
11 #include "base/base_api.h"
12
11 class FilePath; 13 class FilePath;
12 class StringValue; 14 class StringValue;
13 class Value; 15 class Value;
14 16
15 namespace base { 17 namespace base {
16 18
17 // The caller takes ownership of the returned value. 19 // The caller takes ownership of the returned value.
18 StringValue* CreateFilePathValue(const FilePath& in_value); 20 BASE_API StringValue* CreateFilePathValue(const FilePath& in_value);
19 bool GetValueAsFilePath(const Value& value, FilePath* file_path); 21 BASE_API bool GetValueAsFilePath(const Value& value, FilePath* file_path);
20 22
21 } // namespace 23 } // namespace
22 24
23 #endif // BASE_VALUE_CONVERSIONS_H_ 25 #endif // BASE_VALUE_CONVERSIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698