| OLD | NEW | 
|   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 <memory> |   8 #include <memory> | 
|   9  |   9  | 
|  10 #include "base/macros.h" |  10 #include "base/macros.h" | 
|  11 #include "chrome/test/base/web_ui_browser_test.h" |  11 #include "chrome/test/base/web_ui_browser_test.h" | 
|  12  |  12  | 
|  13 class GURL; |  13 class GURL; | 
|  14  |  14  | 
|  15 namespace base { |  | 
|  16 class ListValue; |  | 
|  17 }  // namespace base |  | 
|  18  |  | 
|  19 class NetInternalsTest : public WebUIBrowserTest { |  15 class NetInternalsTest : public WebUIBrowserTest { | 
|  20  protected: |  16  protected: | 
|  21   NetInternalsTest(); |  17   NetInternalsTest(); | 
|  22   ~NetInternalsTest() override; |  18   ~NetInternalsTest() override; | 
|  23  |  19  | 
|  24  private: |  20  private: | 
|  25   class MessageHandler; |  21   class MessageHandler; | 
|  26  |  22  | 
|  27   // InProcessBrowserTest overrides. |  23   // InProcessBrowserTest overrides. | 
|  28   void SetUpCommandLine(base::CommandLine* command_line) override; |  24   void SetUpCommandLine(base::CommandLine* command_line) override; | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
|  39  |  35  | 
|  40   std::unique_ptr<MessageHandler> message_handler_; |  36   std::unique_ptr<MessageHandler> message_handler_; | 
|  41  |  37  | 
|  42   // True if the test server has already been successfully started. |  38   // True if the test server has already been successfully started. | 
|  43   bool test_server_started_; |  39   bool test_server_started_; | 
|  44  |  40  | 
|  45   DISALLOW_COPY_AND_ASSIGN(NetInternalsTest); |  41   DISALLOW_COPY_AND_ASSIGN(NetInternalsTest); | 
|  46 }; |  42 }; | 
|  47  |  43  | 
|  48 #endif  // CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_NET_INTERNALS_UI_BROWSERTEST_H_ |  44 #endif  // CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_NET_INTERNALS_UI_BROWSERTEST_H_ | 
| OLD | NEW |