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

Side by Side Diff: chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/downloads_ui_browsertest.h ('k') | chrome/common/crash_keys.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_NET_INTERNALS_UI_BROWSERTEST_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_NET_INTERNALS_UI_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_NET_INTERNALS_UI_BROWSERTEST_H_ 6 #define CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_NET_INTERNALS_UI_BROWSERTEST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/test/base/web_ui_browsertest.h" 9 #include "chrome/test/base/web_ui_browsertest.h"
10 10
11 class GURL; 11 class GURL;
12 12
13 namespace base { 13 namespace base {
14 class ListValue; 14 class ListValue;
15 } // namespace base 15 } // namespace base
16 16
17 class NetInternalsTest : public WebUIBrowserTest { 17 class NetInternalsTest : public WebUIBrowserTest {
18 protected: 18 protected:
19 NetInternalsTest(); 19 NetInternalsTest();
20 virtual ~NetInternalsTest(); 20 virtual ~NetInternalsTest();
21 21
22 private: 22 private:
23 class MessageHandler; 23 class MessageHandler;
24 24
25 // InProcessBrowserTest overrides. 25 // InProcessBrowserTest overrides.
26 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; 26 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE;
27 virtual void SetUpOnMainThread() OVERRIDE; 27 virtual void SetUpOnMainThread() OVERRIDE;
28 28
29 // WebUIBrowserTest implementation. 29 // WebUIBrowserTest implementation.
30 virtual content::WebUIMessageHandler* GetMockMessageHandler() OVERRIDE; 30 virtual content::WebUIMessageHandler* GetMockMessageHandler() OVERRIDE;
31 31
32 GURL CreatePrerenderLoaderUrl(const GURL& prerender_url); 32 GURL CreatePrerenderLoaderUrl(const GURL& prerender_url);
33 33
34 // Attempts to start the test server. Returns true on success or if the 34 // Attempts to start the test server. Returns true on success or if the
35 // TestServer is already started. 35 // TestServer is already started.
36 bool StartTestServer(); 36 bool StartTestServer();
37 37
38 scoped_ptr<MessageHandler> message_handler_; 38 scoped_ptr<MessageHandler> message_handler_;
39 39
40 // True if the test server has already been successfully started. 40 // True if the test server has already been successfully started.
41 bool test_server_started_; 41 bool test_server_started_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(NetInternalsTest); 43 DISALLOW_COPY_AND_ASSIGN(NetInternalsTest);
44 }; 44 };
45 45
46 #endif // CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_NET_INTERNALS_UI_BROWSERTEST_H_ 46 #endif // CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_NET_INTERNALS_UI_BROWSERTEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/downloads_ui_browsertest.h ('k') | chrome/common/crash_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698