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

Side by Side Diff: extensions/browser/api/web_request/web_request_permissions_delegate.h

Issue 515563003: Remove dependency of chrome in WebRequestPermissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698