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

Side by Side Diff: chromeos/dbus/fake_gsm_sms_client.cc

Issue 19468003: Use a direct include of the message_loop header in chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/fake_cryptohome_client.cc ('k') | chromeos/dbus/fake_session_manager_client.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/bind.h" 5 #include "base/bind.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop/message_loop.h"
7 #include "chromeos/dbus/fake_gsm_sms_client.h" 7 #include "chromeos/dbus/fake_gsm_sms_client.h"
8 8
9 namespace chromeos { 9 namespace chromeos {
10 10
11 FakeGsmSMSClient::FakeGsmSMSClient() 11 FakeGsmSMSClient::FakeGsmSMSClient()
12 : test_index_(-1), 12 : test_index_(-1),
13 sms_test_message_switch_present_(false), 13 sms_test_message_switch_present_(false),
14 weak_ptr_factory_(this) { 14 weak_ptr_factory_(this) {
15 test_messages_.push_back("Test Message 0"); 15 test_messages_.push_back("Test Message 0");
16 test_messages_.push_back("Test Message 1"); 16 test_messages_.push_back("Test Message 1");
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 message->SetInteger("index", test_index_); 103 message->SetInteger("index", test_index_);
104 int msg_index = message_list_.GetSize(); 104 int msg_index = message_list_.GetSize();
105 message_list_.Append(message); 105 message_list_.Append(message);
106 if (!handler_.is_null()) 106 if (!handler_.is_null())
107 handler_.Run(msg_index, true); 107 handler_.Run(msg_index, true);
108 ++test_index_; 108 ++test_index_;
109 return true; 109 return true;
110 } 110 }
111 111
112 } // namespace chromeos 112 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_cryptohome_client.cc ('k') | chromeos/dbus/fake_session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698