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

Side by Side Diff: content/test/test_browser_thread.cc

Issue 8427007: Thread::Stop() must be called before any subclass's destructor completes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest version as trybot-ted Created 9 years, 1 month 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 | « content/browser/browser_thread_impl.cc ('k') | dbus/test_service.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/test/test_browser_thread.h" 5 #include "content/test/test_browser_thread.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 TestBrowserThread::TestBrowserThread(ID identifier) 9 TestBrowserThread::TestBrowserThread(ID identifier)
10 : BrowserThreadImpl(identifier) { 10 : BrowserThreadImpl(identifier) {
11 } 11 }
12 12
13 TestBrowserThread::TestBrowserThread(ID identifier, MessageLoop* message_loop) 13 TestBrowserThread::TestBrowserThread(ID identifier, MessageLoop* message_loop)
14 : BrowserThreadImpl(identifier, message_loop) { 14 : BrowserThreadImpl(identifier, message_loop) {
15 } 15 }
16 16
17 TestBrowserThread::~TestBrowserThread() { 17 TestBrowserThread::~TestBrowserThread() {
18 Stop();
18 } 19 }
19 20
20 } // namespace content 21 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_thread_impl.cc ('k') | dbus/test_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698