| 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/chromeos/drive/file_system_proxy.h" | 5 #include "chrome/browser/chromeos/drive/file_system_proxy.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/platform_file.h" | 11 #include "base/platform_file.h" |
| 12 #include "base/string_util.h" | 12 #include "base/strings/string_util.h" |
| 13 #include "base/threading/sequenced_worker_pool.h" | 13 #include "base/threading/sequenced_worker_pool.h" |
| 14 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "chrome/browser/chromeos/drive/drive.pb.h" | 15 #include "chrome/browser/chromeos/drive/drive.pb.h" |
| 16 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 16 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
| 17 #include "chrome/browser/chromeos/drive/file_system_util.h" | 17 #include "chrome/browser/chromeos/drive/file_system_util.h" |
| 18 #include "chrome/browser/chromeos/drive/webkit_file_stream_reader_impl.h" | 18 #include "chrome/browser/chromeos/drive/webkit_file_stream_reader_impl.h" |
| 19 #include "chrome/browser/google_apis/task_util.h" | 19 #include "chrome/browser/google_apis/task_util.h" |
| 20 #include "chrome/browser/google_apis/time_util.h" | 20 #include "chrome/browser/google_apis/time_util.h" |
| 21 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
| 22 #include "webkit/browser/blob/file_stream_reader.h" | 22 #include "webkit/browser/blob/file_stream_reader.h" |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 base::Bind(&EmitDebugLogForCloseFile, | 863 base::Bind(&EmitDebugLogForCloseFile, |
| 864 virtual_path)))); | 864 virtual_path)))); |
| 865 } | 865 } |
| 866 | 866 |
| 867 FileSystemInterface* FileSystemProxy::GetFileSystemOnUIThread() { | 867 FileSystemInterface* FileSystemProxy::GetFileSystemOnUIThread() { |
| 868 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 868 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| 869 return file_system_; | 869 return file_system_; |
| 870 } | 870 } |
| 871 | 871 |
| 872 } // namespace drive | 872 } // namespace drive |
| OLD | NEW |