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

Side by Side Diff: chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc

Issue 16667014: Use a direct include of strings headers in chrome/browser/media_galleries/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
OLDNEW
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_galleries/linux/mtp_device_delegate_impl_linux.h" 5 #include "chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "chrome/browser/media_galleries/linux/mtp_device_task_helper.h" 10 #include "chrome/browser/media_galleries/linux/mtp_device_task_helper.h"
11 #include "chrome/browser/media_galleries/linux/mtp_device_task_helper_map_servic e.h" 11 #include "chrome/browser/media_galleries/linux/mtp_device_task_helper_map_servic e.h"
12 #include "chrome/browser/media_galleries/linux/snapshot_file_details.h" 12 #include "chrome/browser/media_galleries/linux/snapshot_file_details.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 14
15 namespace chrome { 15 namespace chrome {
16 16
17 namespace { 17 namespace {
18 18
19 // File path separator constant. 19 // File path separator constant.
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 } 451 }
452 452
453 void CreateMTPDeviceAsyncDelegate( 453 void CreateMTPDeviceAsyncDelegate(
454 const std::string& device_location, 454 const std::string& device_location,
455 const CreateMTPDeviceAsyncDelegateCallback& callback) { 455 const CreateMTPDeviceAsyncDelegateCallback& callback) {
456 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)); 456 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
457 callback.Run(new MTPDeviceDelegateImplLinux(device_location)); 457 callback.Run(new MTPDeviceDelegateImplLinux(device_location));
458 } 458 }
459 459
460 } // namespace chrome 460 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698