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

Side by Side Diff: chrome/renderer/render_thread_unittest.cc

Issue 3010052: FBTF: Remove unneeded headers from base/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/renderer/media/audio_renderer_impl.h ('k') | chrome/test/automation/extension_proxy.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/waitable_event.h"
6 #include "chrome/common/render_messages.h" 5 #include "chrome/common/render_messages.h"
7 #include "chrome/renderer/mock_render_process.h" 6 #include "chrome/renderer/mock_render_process.h"
8 #include "chrome/renderer/render_thread.h" 7 #include "chrome/renderer/render_thread.h"
9 #include "ipc/ipc_sync_channel.h" 8 #include "ipc/ipc_sync_channel.h"
10 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
11 10
12 namespace { 11 namespace {
13 12
14 const char kThreadName[] = "render_thread_unittest"; 13 const char kThreadName[] = "render_thread_unittest";
15 14
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // Message goes nowhere, but this confirms Init() has happened. 54 // Message goes nowhere, but this confirms Init() has happened.
56 // Unusually (?), RenderThread() Start()s itself in it's constructor. 55 // Unusually (?), RenderThread() Start()s itself in it's constructor.
57 mock_process_->main_thread()->Send(msg); 56 mock_process_->main_thread()->Send(msg);
58 57
59 // No need to delete msg; per Message::Send() documentation, "The 58 // No need to delete msg; per Message::Send() documentation, "The
60 // implementor takes ownership of the given Message regardless of 59 // implementor takes ownership of the given Message regardless of
61 // whether or not this method succeeds." 60 // whether or not this method succeeds."
62 } 61 }
63 62
64 } // namespace 63 } // namespace
OLDNEW
« no previous file with comments | « chrome/renderer/media/audio_renderer_impl.h ('k') | chrome/test/automation/extension_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698