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

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

Issue 42155: Remove logging.h from cc files that don't use it. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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/installer/util/work_item_list_unittest.cc ('k') | chrome/views/root_view_drop_target.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) 2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2008 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 "chrome/renderer/mock_render_thread.h" 5 #include "chrome/renderer/mock_render_thread.h"
6 6
7 #include "base/logging.h"
8 #include "chrome/common/ipc_message_utils.h" 7 #include "chrome/common/ipc_message_utils.h"
9 #include "chrome/common/render_messages.h" 8 #include "chrome/common/render_messages.h"
10 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
11 10
12 MockRenderThread::MockRenderThread() 11 MockRenderThread::MockRenderThread()
13 : routing_id_(0), 12 : routing_id_(0),
14 opener_id_(0), 13 opener_id_(0),
15 widget_(NULL), 14 widget_(NULL),
16 reply_deserializer_(NULL) { 15 reply_deserializer_(NULL) {
17 } 16 }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 IPC_END_MESSAGE_MAP_EX() 75 IPC_END_MESSAGE_MAP_EX()
77 } 76 }
78 77
79 // The Widget expects to be returned valid route_id. 78 // The Widget expects to be returned valid route_id.
80 void MockRenderThread::OnMsgCreateWidget(int opener_id, 79 void MockRenderThread::OnMsgCreateWidget(int opener_id,
81 bool activatable, 80 bool activatable,
82 int* route_id) { 81 int* route_id) {
83 opener_id_ = opener_id; 82 opener_id_ = opener_id;
84 *route_id = routing_id_; 83 *route_id = routing_id_;
85 } 84 }
OLDNEW
« no previous file with comments | « chrome/installer/util/work_item_list_unittest.cc ('k') | chrome/views/root_view_drop_target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698