IndexedDBFactory now ForceCloses databases.
[chromium-blink-merge.git] / content / common / savable_url_schemes.cc
blob74f59e6167dd1d053de98a051b1c83ceb234eefe
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
3 // found in the LICENSE file.
5 #include "content/common/savable_url_schemes.h"
7 #include <stdlib.h>
9 #include "content/public/common/url_constants.h"
11 namespace content {
13 namespace {
15 const char* const kDefaultSavableSchemes[] = {
16 kHttpScheme,
17 kHttpsScheme,
18 kFileScheme,
19 kFileSystemScheme,
20 kFtpScheme,
21 chrome::kChromeDevToolsScheme,
22 chrome::kChromeUIScheme,
23 chrome::kDataScheme,
24 NULL
27 const char* const* g_savable_schemes = kDefaultSavableSchemes;
29 } // namespace
31 const char* const* GetSavableSchemesInternal() {
32 return g_savable_schemes;
35 void SetSavableSchemes(const char* const* savable_schemes) {
36 g_savable_schemes = savable_schemes;
39 } // namespace content