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

Side by Side Diff: extensions/common/extensions_test_browser_context.h

Issue 355223002: Add ExtensionsTestBrowserContext class for test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 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_COMMON_EXTENSIONS_TEST_BROWSER_CONTEXT_H_
6 #define EXTENSIONS_COMMON_EXTENSIONS_TEST_BROWSER_CONTEXT_H_
7
8 #include "content/public/test/test_browser_context.h"
9
10 namespace extensions {
11
12 // An implementation of BrowserContext used for extension testing. It will set
13 // necessary extension state like the ExtensionsBrowserClient and any keyed
14 // services, and cleans up after itself on destruction.
15 class ExtensionsTestBrowserContext : public content::TestBrowserContext {
16 public:
17 ExtensionsTestBrowserContext();
18 virtual ~ExtensionsTestBrowserContext();
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(ExtensionsTestBrowserContext);
22 };
23
24 } // namespace extensions
25
26 #endif // EXTENSIONS_COMMON_EXTENSIONS_TEST_BROWSER_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698