Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / extensions / browser_permissions_policy_delegate.cc
blob2bd874a7821ab6b2515ca219f1bd2534da4050ed
1 // Copyright 2013 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 "chrome/browser/extensions/browser_permissions_policy_delegate.h"
7 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/profiles/profile_manager.h"
10 #include "content/public/browser/browser_thread.h"
11 #include "extensions/common/manifest_constants.h"
13 namespace extensions {
15 namespace errors = manifest_errors;
17 BrowserPermissionsPolicyDelegate::BrowserPermissionsPolicyDelegate() {
18 PermissionsData::SetPolicyDelegate(this);
20 BrowserPermissionsPolicyDelegate::~BrowserPermissionsPolicyDelegate() {
21 PermissionsData::SetPolicyDelegate(NULL);
24 bool BrowserPermissionsPolicyDelegate::CanExecuteScriptOnPage(
25 const Extension* extension,
26 const GURL& document_url,
27 int tab_id,
28 int process_id,
29 std::string* error) {
30 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
31 return true;
34 } // namespace extensions