Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / extensions / shell / test / shell_test.h
blobfab2d151610b4fcd0f6140fc181c7848b8f2cabb
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.
5 #ifndef EXTENSIONS_SHELL_TEST_SHELL_TEST_H_
6 #define EXTENSIONS_SHELL_TEST_SHELL_TEST_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "content/public/test/browser_test.h"
10 #include "content/public/test/browser_test_base.h"
12 namespace base {
13 class FilePath;
16 namespace content {
17 class BrowserContext;
20 namespace extensions {
22 class ShellExtensionSystem;
24 // Base class for app shell browser tests.
25 class AppShellTest : public content::BrowserTestBase {
26 public:
27 AppShellTest();
28 ~AppShellTest() override;
30 // content::BrowserTestBase implementation.
31 void SetUp() override;
32 void SetUpOnMainThread() override;
33 void RunTestOnMainThreadLoop() override;
35 content::BrowserContext* browser_context() { return browser_context_; }
37 protected:
38 content::BrowserContext* browser_context_;
39 ShellExtensionSystem* extension_system_;
42 } // namespace extensions
44 #endif // EXTENSIONS_SHELL_TEST_SHELL_TEST_H_