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

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

Issue 1413373010: include what you use: errno.h in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: insert blank line Created 5 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/certificate_manager_handler.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) 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 <errno.h>
7 #include <fcntl.h> 8 #include <fcntl.h>
8 #include <algorithm> 9 #include <algorithm>
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
13 #include "base/numerics/safe_conversions.h" 14 #include "base/numerics/safe_conversions.h"
14 #include "base/posix/eintr_wrapper.h" 15 #include "base/posix/eintr_wrapper.h"
15 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
(...skipping 1888 matching lines...) Expand 10 before | Expand all | Expand 10 after
1905 } 1906 }
1906 } 1907 }
1907 1908
1908 void CreateMTPDeviceAsyncDelegate( 1909 void CreateMTPDeviceAsyncDelegate(
1909 const std::string& device_location, 1910 const std::string& device_location,
1910 const bool read_only, 1911 const bool read_only,
1911 const CreateMTPDeviceAsyncDelegateCallback& callback) { 1912 const CreateMTPDeviceAsyncDelegateCallback& callback) {
1912 DCHECK_CURRENTLY_ON(content::BrowserThread::IO); 1913 DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
1913 callback.Run(new MTPDeviceDelegateImplLinux(device_location, read_only)); 1914 callback.Run(new MTPDeviceDelegateImplLinux(device_location, read_only));
1914 } 1915 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/certificate_manager_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698