Chromium Code Reviews| Index: content/common/savable_url_schemes.h |
| diff --git a/content/common/savable_url_schemes.h b/content/common/savable_url_schemes.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..239a330c5b790eecb41b693fa59be32b1179cbc1 |
| --- /dev/null |
| +++ b/content/common/savable_url_schemes.h |
| @@ -0,0 +1,24 @@ |
| +// 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_COMMON_SAVABLE_URL_SCHEMES_H_ |
| +#define CONTENT_COMMON_SAVABLE_URL_SCHEMES_H_ |
| +#pragma once |
| + |
| +namespace content { |
| + |
| +namespace internal { |
|
jam
2012/05/24 19:49:26
nit: we don't use internal namespace in content
i
jam
2012/05/24 19:57:15
just to be clear to save you any more round trips,
grt (UTC plus 2)
2012/05/24 20:33:14
That doesn't work since it brings back the origina
jam
2012/05/24 21:50:02
got it
grt (UTC plus 2)
2012/05/25 03:15:04
Apologies if I'm missing something obvious, but th
jam
2012/05/25 08:12:04
ah, I was missing that there were two functions wi
|
| + |
| +// Null terminated list of schemes that are savable. This function can be |
| +// invoked on any thread. |
| +const char* const* GetSavableSchemes(); |
| + |
| +// Intended for use only during initialization. |
| +void SetSavableSchemes(const char* const* savable_schemes); |
| + |
| +} // namespace internal |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_COMMON_SAVABLE_URL_SCHEMES_H_ |