| 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_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ | 5 #ifndef CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ |
| 6 #define CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ | 6 #define CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 int test_result() const { | 100 int test_result() const { |
| 101 return test_result_; | 101 return test_result_; |
| 102 } | 102 } |
| 103 | 103 |
| 104 void set_crash_service(base::ProcessHandle handle) { | 104 void set_crash_service(base::ProcessHandle handle) { |
| 105 crash_service_ = handle; | 105 crash_service_ = handle; |
| 106 } | 106 } |
| 107 | 107 |
| 108 // content::BrowserMainParts implementation. | 108 // content::BrowserMainParts implementation. |
| 109 virtual void PreEarlyInitialization() OVERRIDE; | 109 virtual void PreEarlyInitialization() OVERRIDE; |
| 110 virtual void PostEarlyInitialization() OVERRIDE {} | |
| 111 virtual void PreMainMessageLoopStart() OVERRIDE {} | |
| 112 virtual void PostMainMessageLoopStart() OVERRIDE {} | |
| 113 virtual void ToolkitInitialized() OVERRIDE {} | |
| 114 virtual int PreCreateThreads() OVERRIDE; | 110 virtual int PreCreateThreads() OVERRIDE; |
| 115 virtual void PreMainMessageLoopRun() OVERRIDE; | 111 virtual void PreMainMessageLoopRun() OVERRIDE; |
| 116 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; | 112 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; |
| 117 virtual void PostMainMessageLoopRun() OVERRIDE; | 113 virtual void PostMainMessageLoopRun() OVERRIDE; |
| 118 virtual void PostDestroyThreads() OVERRIDE; | 114 virtual void PostDestroyThreads() OVERRIDE; |
| 119 | 115 |
| 120 protected: | 116 protected: |
| 121 // This is the thread that runs all the UrlRequest tests. | 117 // This is the thread that runs all the UrlRequest tests. |
| 122 // Within its context, the Initialize() and Shutdown() routines above | 118 // Within its context, the Initialize() and Shutdown() routines above |
| 123 // will be called. | 119 // will be called. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 bool tests_ran_; | 154 bool tests_ran_; |
| 159 base::CancelableClosure timeout_closure_; | 155 base::CancelableClosure timeout_closure_; |
| 160 scoped_ptr<logging_win::FileLogger> file_logger_; | 156 scoped_ptr<logging_win::FileLogger> file_logger_; |
| 161 FilePath log_file_; | 157 FilePath log_file_; |
| 162 scoped_ptr<chrome_frame_test::IEConfigurator> ie_configurator_; | 158 scoped_ptr<chrome_frame_test::IEConfigurator> ie_configurator_; |
| 163 | 159 |
| 164 DISALLOW_COPY_AND_ASSIGN(CFUrlRequestUnittestRunner); | 160 DISALLOW_COPY_AND_ASSIGN(CFUrlRequestUnittestRunner); |
| 165 }; | 161 }; |
| 166 | 162 |
| 167 #endif // CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ | 163 #endif // CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ |
| OLD | NEW |