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

Side by Side Diff: chrome_frame/test/net/fake_external_tab.h

Issue 9375017: Support sharing of ContentMain and BrowserMain code with embedded use cases (try #3). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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/test/base/chrome_test_launcher.cc ('k') | chrome_frame/test/net/fake_external_tab.cc » ('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_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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 void set_crash_service(base::ProcessHandle handle) { 97 void set_crash_service(base::ProcessHandle handle) {
98 crash_service_ = handle; 98 crash_service_ = handle;
99 } 99 }
100 100
101 // content::BrowserMainParts implementation. 101 // content::BrowserMainParts implementation.
102 virtual void PreEarlyInitialization() OVERRIDE; 102 virtual void PreEarlyInitialization() OVERRIDE;
103 virtual void PostEarlyInitialization() OVERRIDE {} 103 virtual void PostEarlyInitialization() OVERRIDE {}
104 virtual void PreMainMessageLoopStart() OVERRIDE {} 104 virtual void PreMainMessageLoopStart() OVERRIDE {}
105 virtual MessageLoop* GetMainMessageLoop() OVERRIDE;
105 virtual void PostMainMessageLoopStart() OVERRIDE {} 106 virtual void PostMainMessageLoopStart() OVERRIDE {}
106 virtual void ToolkitInitialized() OVERRIDE {} 107 virtual void ToolkitInitialized() OVERRIDE {}
107 virtual int PreCreateThreads() OVERRIDE; 108 virtual int PreCreateThreads() OVERRIDE;
108 virtual void PreMainMessageLoopRun() OVERRIDE; 109 virtual void PreMainMessageLoopRun() OVERRIDE;
109 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; 110 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE;
110 virtual void PostMainMessageLoopRun() OVERRIDE; 111 virtual void PostMainMessageLoopRun() OVERRIDE;
111 virtual void PostDestroyThreads() OVERRIDE; 112 virtual void PostDestroyThreads() OVERRIDE;
112 113
113 protected: 114 protected:
114 // This is the thread that runs all the UrlRequest tests. 115 // This is the thread that runs all the UrlRequest tests.
(...skipping 14 matching lines...) Expand all
129 // The fake chrome instance. 130 // The fake chrome instance.
130 scoped_ptr<FakeExternalTab> fake_chrome_; 131 scoped_ptr<FakeExternalTab> fake_chrome_;
131 scoped_ptr<ProcessSingletonSubclass> pss_subclass_; 132 scoped_ptr<ProcessSingletonSubclass> pss_subclass_;
132 ScopedChromeFrameRegistrar registrar_; 133 ScopedChromeFrameRegistrar registrar_;
133 int test_result_; 134 int test_result_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(CFUrlRequestUnittestRunner); 136 DISALLOW_COPY_AND_ASSIGN(CFUrlRequestUnittestRunner);
136 }; 137 };
137 138
138 #endif // CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_ 139 #endif // CHROME_FRAME_TEST_NET_FAKE_EXTERNAL_TAB_H_
OLDNEW
« no previous file with comments | « chrome/test/base/chrome_test_launcher.cc ('k') | chrome_frame/test/net/fake_external_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698