Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: content/common/savable_url_schemes.cc

Issue 2622693002: Cleanup of static lists of schemes & origins that are created at startup. (Closed)
Patch Set: merge Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/savable_url_schemes.h ('k') | content/common/url_schemes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/savable_url_schemes.cc
diff --git a/content/common/savable_url_schemes.cc b/content/common/savable_url_schemes.cc
deleted file mode 100644
index c149aaeef389faed7fcb1a539635a83a26e6618d..0000000000000000000000000000000000000000
--- a/content/common/savable_url_schemes.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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.
-
-#include "content/common/savable_url_schemes.h"
-
-#include <stdlib.h>
-
-#include "content/public/common/url_constants.h"
-
-namespace content {
-
-namespace {
-
-const char* const kDefaultSavableSchemes[] = {
- url::kHttpScheme,
- url::kHttpsScheme,
- url::kFileScheme,
- url::kFileSystemScheme,
- url::kFtpScheme,
- kChromeDevToolsScheme,
- kChromeUIScheme,
- url::kDataScheme,
- NULL
-};
-
-const char* const* g_savable_schemes = kDefaultSavableSchemes;
-
-} // namespace
-
-const char* const* GetSavableSchemesInternal() {
- return g_savable_schemes;
-}
-
-void SetSavableSchemes(const char* const* savable_schemes) {
- g_savable_schemes = savable_schemes;
-}
-
-} // namespace content
« no previous file with comments | « content/common/savable_url_schemes.h ('k') | content/common/url_schemes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698