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

Side by Side Diff: chromeos/dbus/fake_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 <string> 5 #include <string>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chromeos/chromeos_switches.h" 15 #include "chromeos/chromeos_switches.h"
16 #include "chromeos/dbus/fake_sms_client.h" 16 #include "chromeos/dbus/fake_sms_client.h"
17 #include "dbus/object_path.h" 17 #include "dbus/object_path.h"
18 18
19 namespace chromeos { 19 namespace chromeos {
20 20
21 FakeSMSClient::FakeSMSClient() : weak_ptr_factory_(this) {} 21 FakeSMSClient::FakeSMSClient() : weak_ptr_factory_(this) {}
22 22
23 FakeSMSClient::~FakeSMSClient() {} 23 FakeSMSClient::~FakeSMSClient() {}
(...skipping 21 matching lines...) Expand all
45 base::Bind(&FakeSMSClient::OnGetAll, weak_ptr_factory_.GetWeakPtr(), 45 base::Bind(&FakeSMSClient::OnGetAll, weak_ptr_factory_.GetWeakPtr(),
46 base::Owned(sms), callback)); 46 base::Owned(sms), callback));
47 } 47 }
48 48
49 void FakeSMSClient::OnGetAll(base::DictionaryValue* sms, 49 void FakeSMSClient::OnGetAll(base::DictionaryValue* sms,
50 const GetAllCallback& callback) { 50 const GetAllCallback& callback) {
51 callback.Run(*sms); 51 callback.Run(*sms);
52 } 52 }
53 53
54 } // namespace chromeos 54 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc ('k') | chromeos/dbus/peer_daemon_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698