Disable crashing tests, my previous checkin to mark them flaky did not help.
[chromium-blink-merge.git] / base / value_conversions.h
blob75246d136a0525d33e2def042e374580ec15e7e1
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
3 // found in the LICENSE file.
5 #ifndef BASE_VALUE_CONVERSIONS_H_
6 #define BASE_VALUE_CONVERSIONS_H_
7 #pragma once
9 // This file contains methods to convert a |FilePath| to a |Value| and back.
11 #include "base/base_api.h"
13 class FilePath;
14 class StringValue;
15 class Value;
17 namespace base {
19 // The caller takes ownership of the returned value.
20 BASE_API StringValue* CreateFilePathValue(const FilePath& in_value);
21 BASE_API bool GetValueAsFilePath(const Value& value, FilePath* file_path);
23 } // namespace
25 #endif // BASE_VALUE_CONVERSIONS_H_