OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 CONTENT_COMMON_SAVABLE_URL_SCHEMES_H_ | 5 #ifndef CONTENT_COMMON_SAVABLE_URL_SCHEMES_H_ |
6 #define CONTENT_COMMON_SAVABLE_URL_SCHEMES_H_ | 6 #define CONTENT_COMMON_SAVABLE_URL_SCHEMES_H_ |
7 #pragma once | |
8 | 7 |
9 namespace content { | 8 namespace content { |
10 | 9 |
11 // Null terminated list of schemes that are savable. This function can be | 10 // Null terminated list of schemes that are savable. This function can be |
12 // invoked on any thread. | 11 // invoked on any thread. |
13 const char* const* GetSavableSchemesInternal(); | 12 const char* const* GetSavableSchemesInternal(); |
14 | 13 |
15 // Intended for use only during initialization. | 14 // Intended for use only during initialization. |
16 void SetSavableSchemes(const char* const* savable_schemes); | 15 void SetSavableSchemes(const char* const* savable_schemes); |
17 | 16 |
18 } // namespace content | 17 } // namespace content |
19 | 18 |
20 #endif // CONTENT_COMMON_SAVABLE_URL_SCHEMES_H_ | 19 #endif // CONTENT_COMMON_SAVABLE_URL_SCHEMES_H_ |
OLD | NEW |