blob: d663d376c1e546ce7b1a3d5339ff9ee63943cadc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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 "chrome/browser/ui/website_settings/website_settings_utils.h"
#include "chrome/common/url_constants.h"
#include "extensions/common/constants.h"
#include "url/gurl.h"
// Returns true if the passed |url| refers to an internal chrome page.
bool InternalChromePage(const GURL& url) {
return url.SchemeIs(chrome::kChromeUIScheme) ||
url.SchemeIs(extensions::kExtensionScheme);
}
|