Chromium Code Reviews| Index: content/public/common/savable_url_schemes.h |
| diff --git a/content/public/common/savable_url_schemes.h b/content/public/common/savable_url_schemes.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..23cdf9fdfae7d2d009da79e99efb2f42cb58d99b |
| --- /dev/null |
| +++ b/content/public/common/savable_url_schemes.h |
| @@ -0,0 +1,22 @@ |
| +// 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. |
| + |
| +#ifndef CONTENT_PUBLIC_COMMON_SAVABLE_URL_SCHEMES_H_ |
| +#define CONTENT_PUBLIC_COMMON_SAVABLE_URL_SCHEMES_H_ |
| +#pragma once |
| + |
| +#include "content/common/content_export.h" |
| + |
| +namespace content { |
| + |
| +// Null terminated list of schemes that are savable. This function can be |
| +// invoked on any thread. |
| +CONTENT_EXPORT const char* const* GetSavableSchemes(); |
| + |
| +// Intended for use only during initialization. |
| +void SetSavableSchemes(const char* const* savable_schemes); |
|
jam
2012/05/28 07:05:03
we only put stuff in content/public if it's needed
grt (UTC plus 2)
2012/05/28 14:52:24
I've gone back to Patch Set 5, which was laid out
|
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_COMMON_SAVABLE_URL_SCHEMES_H_ |