OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/browser/media_transfer_protocol/media_transfer_protocol_daemon_
client.h" | 5 #include "chrome/browser/media_transfer_protocol/media_transfer_protocol_daemon_
client.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "chrome/browser/media_transfer_protocol/mtp_file_entry.pb.h" | 9 #include "chrome/browser/media_transfer_protocol/mtp_file_entry.pb.h" |
10 #include "chrome/browser/media_transfer_protocol/mtp_storage_info.pb.h" | 10 #include "chrome/browser/media_transfer_protocol/mtp_storage_info.pb.h" |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 | 480 |
481 // static | 481 // static |
482 MediaTransferProtocolDaemonClient* | 482 MediaTransferProtocolDaemonClient* |
483 MediaTransferProtocolDaemonClient::Create(dbus::Bus* bus, bool is_stub) { | 483 MediaTransferProtocolDaemonClient::Create(dbus::Bus* bus, bool is_stub) { |
484 if (is_stub) | 484 if (is_stub) |
485 return new MediaTransferProtocolDaemonClientStubImpl(); | 485 return new MediaTransferProtocolDaemonClientStubImpl(); |
486 return new MediaTransferProtocolDaemonClientImpl(bus); | 486 return new MediaTransferProtocolDaemonClientImpl(bus); |
487 } | 487 } |
488 | 488 |
489 } // namespace chrome | 489 } // namespace chrome |
OLD | NEW |