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

Side by Side Diff: chrome/browser/extensions/browser_permissions_policy_delegate.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_BROWSER_PERMISSIONS_POLICY_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_BROWSER_PERMISSIONS_POLICY_DELEGATE_H_
6 #define CHROME_BROWSER_EXTENSIONS_BROWSER_PERMISSIONS_POLICY_DELEGATE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_BROWSER_PERMISSIONS_POLICY_DELEGATE_H_
7 7
8 #include "extensions/common/permissions/permissions_data.h" 8 #include "extensions/common/permissions/permissions_data.h"
9 9
10 namespace extensions { 10 namespace extensions {
11 11
12 // Policy delegate for the browser process. 12 // Policy delegate for the browser process.
13 class BrowserPermissionsPolicyDelegate 13 class BrowserPermissionsPolicyDelegate
14 : public PermissionsData::PolicyDelegate { 14 : public PermissionsData::PolicyDelegate {
15 public: 15 public:
16 BrowserPermissionsPolicyDelegate(); 16 BrowserPermissionsPolicyDelegate();
17 virtual ~BrowserPermissionsPolicyDelegate(); 17 virtual ~BrowserPermissionsPolicyDelegate();
18 18
19 virtual bool CanExecuteScriptOnPage(const Extension* extension, 19 virtual bool CanExecuteScriptOnPage(const Extension* extension,
20 const GURL& document_url, 20 const GURL& document_url,
21 const GURL& top_document_url, 21 const GURL& top_document_url,
22 int tab_id, 22 int tab_id,
23 int process_id, 23 int process_id,
24 std::string* error) OVERRIDE; 24 std::string* error) override;
25 25
26 DISALLOW_COPY_AND_ASSIGN(BrowserPermissionsPolicyDelegate); 26 DISALLOW_COPY_AND_ASSIGN(BrowserPermissionsPolicyDelegate);
27 }; 27 };
28 28
29 } // namespace extensions 29 } // namespace extensions
30 30
31 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_PERMISSIONS_POLICY_DELEGATE_H_ 31 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_PERMISSIONS_POLICY_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/browser_extension_window_controller.h ('k') | chrome/browser/extensions/bundle_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698