OLD | NEW |
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 "chrome/browser/chromeos/drive/debug_info_collector.h" | 5 #include "chrome/browser/chromeos/drive/debug_info_collector.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "chrome/browser/google_apis/task_util.h" | |
10 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
| 10 #include "google_apis/drive/task_util.h" |
11 | 11 |
12 using content::BrowserThread; | 12 using content::BrowserThread; |
13 | 13 |
14 namespace drive { | 14 namespace drive { |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
18 void IterateFileCacheInternal( | 18 void IterateFileCacheInternal( |
19 internal::FileCache* file_cache, | 19 internal::FileCache* file_cache, |
20 const DebugInfoCollector::IterateFileCacheCallback& iteration_callback) { | 20 const DebugInfoCollector::IterateFileCacheCallback& iteration_callback) { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 60 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
61 DCHECK(!callback.is_null()); | 61 DCHECK(!callback.is_null()); |
62 | 62 |
63 // Currently, this is just a proxy to the FileSystem. | 63 // Currently, this is just a proxy to the FileSystem. |
64 // TODO(hidehiko): Move the implementation to here to simplify the | 64 // TODO(hidehiko): Move the implementation to here to simplify the |
65 // FileSystem's implementation. crbug.com/237088 | 65 // FileSystem's implementation. crbug.com/237088 |
66 file_system_->GetMetadata(callback); | 66 file_system_->GetMetadata(callback); |
67 } | 67 } |
68 | 68 |
69 } // namespace drive | 69 } // namespace drive |
OLD | NEW |