[content shell] hook up testRunner.dumpEditingCallbacks
[chromium-blink-merge.git] / content / common / savable_url_schemes.cc
blob0e2c37e09d71edffb3b9d7718275a180147294ce
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 {
13 const char* const kDefaultSavableSchemes[] = {
14 chrome::kHttpScheme,
15 chrome::kHttpsScheme,
16 chrome::kFileScheme,
17 chrome::kFileSystemScheme,
18 chrome::kFtpScheme,
19 chrome::kChromeDevToolsScheme,
20 chrome::kChromeUIScheme,
21 chrome::kDataScheme,
22 NULL
25 const char* const* g_savable_schemes = kDefaultSavableSchemes;
27 } // namespace
29 namespace content {
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