blob: f354b6bbe53a86dbd5b0c9d0db759372b2fe5b53 [file] [log] [blame]
// Copyright 2013 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 "extensions/common/extension_urls.h"
#include "extensions/common/constants.h"
#include "url/gurl.h"
namespace extensions {
bool IsSourceFromAnExtension(const base::string16& source) {
return GURL(source).SchemeIs(kExtensionScheme);
}
} // namespace extensions