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

Side by Side Diff: content/public/test/content_browser_test.h

Issue 1737933002: mojo leveldb: Get profile and leveldb connected to DOMStorageContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. (Mostly removing BrowserContext knowlege.) Created 4 years, 9 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_H_
6 #define CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_H_ 6 #define CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/public/test/browser_test.h" 10 #include "content/public/test/browser_test.h"
11 #include "content/public/test/browser_test_base.h" 11 #include "content/public/test/browser_test_base.h"
12 12
13 namespace content { 13 namespace content {
14 class BrowserContext;
14 class Shell; 15 class Shell;
15 class ShellMainDelegate; 16 class ShellMainDelegate;
16 17
17 // Base class for browser tests which use content_shell. 18 // Base class for browser tests which use content_shell.
18 class ContentBrowserTest : public BrowserTestBase { 19 class ContentBrowserTest : public BrowserTestBase {
19 protected: 20 protected:
20 ContentBrowserTest(); 21 ContentBrowserTest();
21 ~ContentBrowserTest() override; 22 ~ContentBrowserTest() override;
22 23
23 // testing::Test: 24 // testing::Test:
(...skipping 19 matching lines...) Expand all
43 #if defined(OS_ANDROID) 44 #if defined(OS_ANDROID)
44 // For all other platforms, this is done automatically when calling into 45 // For all other platforms, this is done automatically when calling into
45 // ContentMain. For Android we set things up manually. 46 // ContentMain. For Android we set things up manually.
46 scoped_ptr<ShellMainDelegate> shell_main_delegate_; 47 scoped_ptr<ShellMainDelegate> shell_main_delegate_;
47 #endif 48 #endif
48 }; 49 };
49 50
50 } // namespace content 51 } // namespace content
51 52
52 #endif // CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_H_ 53 #endif // CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698