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

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

Issue 11415216: Make Blacklist::IsBlacklist asynchronous (it will need to be for safe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another test Created 8 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2012 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 CHROME_BROWSER_EXTENSIONS_TEST_BLACKLIST_H_
6 #define CHROME_BROWSER_EXTENSIONS_TEST_BLACKLIST_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11
12 namespace extensions {
13
14 class Blacklist;
15
16 // A wrapper for an extensions::Blacklist that provides functionality for
17 // testing.
18 class TestBlacklist {
19 public:
20 explicit TestBlacklist(Blacklist* blacklist);
21
22 Blacklist* blacklist() { return blacklist_; }
23
24 bool IsBlacklisted(const std::string& extension_id);
25
26 private:
27 Blacklist* blacklist_;
28
29 DISALLOW_COPY_AND_ASSIGN(TestBlacklist);
30 };
31
32 } // namespace extensions
33
34 #endif // CHROME_BROWSER_EXTENSIONS_TEST_BLACKLIST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/standard_management_policy_provider_unittest.cc ('k') | chrome/browser/extensions/test_blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698