mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Add files via upload
This commit is contained in:
parent
66bbb48b6a
commit
9f172251ef
1 changed files with 55 additions and 0 deletions
55
content/public/common/url_constants.cc
Normal file
55
content/public/common/url_constants.cc
Normal file
|
@ -0,0 +1,55 @@
|
|||
// Copyright (c) 2022 The Chromium Authors and Alex313031. 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/public/common/url_constants.h"
|
||||
|
||||
#include "build/build_config.h"
|
||||
#include "build/chromeos_buildflags.h"
|
||||
|
||||
namespace content {
|
||||
|
||||
// Before adding new chrome schemes please check with security@chromium.org.
|
||||
// There are security implications associated with introducing new schemes.
|
||||
const char kChromeDevToolsScheme[] = "devtools";
|
||||
const char kChromeErrorScheme[] = "chrome-error";
|
||||
const char kChromeUIScheme[] = "thorium";
|
||||
const char kChromeUIUntrustedScheme[] = "chrome-untrusted";
|
||||
const char kGuestScheme[] = "chrome-guest";
|
||||
const char kViewSourceScheme[] = "view-source";
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
const char kExternalFileScheme[] = "externalfile";
|
||||
#endif
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
const char kAndroidAppScheme[] = "android-app";
|
||||
#endif
|
||||
const char kGoogleChromeScheme[] = "googlechrome";
|
||||
|
||||
const char kChromeUIAttributionInternalsHost[] = "attribution-internals";
|
||||
const char kChromeUIIndexedDBInternalsHost[] = "indexeddb-internals";
|
||||
const char kChromeUIBlobInternalsHost[] = "blob-internals";
|
||||
const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz";
|
||||
const char kChromeUIDinoHost[] = "dino";
|
||||
const char kChromeUIGpuHost[] = "gpu";
|
||||
const char kChromeUIHistogramHost[] = "histograms";
|
||||
const char kChromeUIMediaInternalsHost[] = "media-internals";
|
||||
const char kChromeUIMemoryExhaustHost[] = "memory-exhaust";
|
||||
const char kChromeUINetworkErrorHost[] = "network-error";
|
||||
const char kChromeUINetworkErrorsListingHost[] = "network-errors";
|
||||
const char kChromeUIPrerenderInternalsHost[] = "prerender-internals";
|
||||
const char kChromeUIProcessInternalsHost[] = "process-internals";
|
||||
const char kChromeUIQuotaInternalsHost[] = "quota-internals";
|
||||
const char kChromeUIResourcesHost[] = "resources";
|
||||
const char kChromeUIServiceWorkerInternalsHost[] = "serviceworker-internals";
|
||||
const char kChromeUITracingHost[] = "tracing";
|
||||
const char kChromeUIUkmHost[] = "ukm";
|
||||
const char kChromeUIUntrustedResourcesURL[] = "chrome-untrusted://resources/";
|
||||
const char kChromeUIWebRTCInternalsHost[] = "webrtc-internals";
|
||||
|
||||
// This error URL is loaded in normal web renderer processes, so it should not
|
||||
// have a chrome:// scheme that might let it be confused with a WebUI page.
|
||||
const char kUnreachableWebDataURL[] = "chrome-error://chromewebdata/";
|
||||
|
||||
const char kBlockedURL[] = "about:blank#blocked";
|
||||
|
||||
} // namespace content
|
Loading…
Reference in a new issue