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

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

Issue 1966093003: Fix include path for moved thread_task_runner_handle.h header in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "chromeos/dbus/fake_gsm_sms_client.h" 11 #include "chromeos/dbus/fake_gsm_sms_client.h"
12 12
13 namespace chromeos { 13 namespace chromeos {
14 14
15 FakeGsmSMSClient::FakeGsmSMSClient() 15 FakeGsmSMSClient::FakeGsmSMSClient()
16 : test_index_(-1), 16 : test_index_(-1),
17 sms_test_message_switch_present_(false), 17 sms_test_message_switch_present_(false),
18 weak_ptr_factory_(this) { 18 weak_ptr_factory_(this) {
19 test_messages_.push_back("Test Message 0"); 19 test_messages_.push_back("Test Message 0");
20 test_messages_.push_back("Test Message 1"); 20 test_messages_.push_back("Test Message 1");
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 message->SetInteger("index", test_index_); 109 message->SetInteger("index", test_index_);
110 int msg_index = message_list_.GetSize(); 110 int msg_index = message_list_.GetSize();
111 message_list_.Append(message); 111 message_list_.Append(message);
112 if (!handler_.is_null()) 112 if (!handler_.is_null())
113 handler_.Run(msg_index, true); 113 handler_.Run(msg_index, true);
114 ++test_index_; 114 ++test_index_;
115 return true; 115 return true;
116 } 116 }
117 117
118 } // namespace chromeos 118 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_debug_daemon_client.cc ('k') | chromeos/dbus/fake_lorgnette_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698