OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2014 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. |
| 4 |
| 5 #ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_PERMISSIONS_DELEGATE_H |
| 6 #define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_PERMISSIONS_DELEGATE_H |
| 7 |
| 8 #include "extensions/browser/process_map.h" |
| 9 |
| 10 namespace extensions { |
| 11 |
| 12 class WebRequestPermissionsDelegate { |
| 13 public: |
| 14 WebRequestPermissionsDelegate(); |
| 15 virtual ~WebRequestPermissionsDelegate(); |
| 16 |
| 17 virtual bool IsUpdateURL(const GURL& url) = 0; |
| 18 virtual bool ContainsWebStoreAppId(const ProcessMap& process_map, |
| 19 int process_id) = 0; |
| 20 }; |
| 21 |
| 22 } // nanespace extensions |
| 23 |
| 24 #endif //EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_PERMISSIONS_DELEGATE_H |
| 25 |
| 26 |
OLD | NEW |