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

Side by Side Diff: remoting/test/app_remoting_connected_client_fixture.cc

Issue 1219923011: Added image pattern comparison logic for test interface and fixture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "Minor update on comments" Created 5 years, 5 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
« no previous file with comments | « no previous file | remoting/test/app_remoting_connection_helper.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "remoting/test/app_remoting_connected_client_fixture.h" 5 #include "remoting/test/app_remoting_connected_client_fixture.h"
6 6
7 #include "base/json/json_reader.h" 7 #include "base/json/json_reader.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 message.set_type(message_request_title); 80 message.set_type(message_request_title);
81 message.set_data(message_payload); 81 message.set_data(message_payload);
82 connection_helper_->host_stub()->DeliverClientMessage(message); 82 connection_helper_->host_stub()->DeliverClientMessage(message);
83 83
84 DCHECK(!timer_->IsRunning()); 84 DCHECK(!timer_->IsRunning());
85 timer_->Start(FROM_HERE, max_wait_time, run_loop_->QuitClosure()); 85 timer_->Start(FROM_HERE, max_wait_time, run_loop_->QuitClosure());
86 86
87 run_loop_->Run(); 87 run_loop_->Run();
88 timer_->Stop(); 88 timer_->Stop();
89 89
90 connection_helper_->ResetHostMessageReceivedCallback();
91 return message_received; 90 return message_received;
92 } 91 }
93 92
94 } // namespace test 93 } // namespace test
95 } // namespace remoting 94 } // namespace remoting
OLDNEW
« no previous file with comments | « no previous file | remoting/test/app_remoting_connection_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698