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/file_system/touch_operation.h" | 5 #include "chrome/browser/chromeos/drive/file_system/touch_operation.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/sequenced_task_runner.h" | 9 #include "base/sequenced_task_runner.h" |
10 #include "base/time.h" | 10 #include "base/time/time.h" |
11 #include "chrome/browser/chromeos/drive/file_errors.h" | 11 #include "chrome/browser/chromeos/drive/file_errors.h" |
12 #include "chrome/browser/chromeos/drive/file_system/operation_observer.h" | 12 #include "chrome/browser/chromeos/drive/file_system/operation_observer.h" |
13 #include "chrome/browser/chromeos/drive/file_system_util.h" | 13 #include "chrome/browser/chromeos/drive/file_system_util.h" |
14 #include "chrome/browser/chromeos/drive/job_scheduler.h" | 14 #include "chrome/browser/chromeos/drive/job_scheduler.h" |
15 #include "chrome/browser/chromeos/drive/resource_entry_conversion.h" | 15 #include "chrome/browser/chromeos/drive/resource_entry_conversion.h" |
16 #include "chrome/browser/chromeos/drive/resource_metadata.h" | 16 #include "chrome/browser/chromeos/drive/resource_metadata.h" |
17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
18 | 18 |
19 using content::BrowserThread; | 19 using content::BrowserThread; |
20 | 20 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 DCHECK(!callback.is_null()); | 118 DCHECK(!callback.is_null()); |
119 | 119 |
120 if (error == FILE_ERROR_OK) | 120 if (error == FILE_ERROR_OK) |
121 observer_->OnDirectoryChangedByOperation(file_path.DirName()); | 121 observer_->OnDirectoryChangedByOperation(file_path.DirName()); |
122 | 122 |
123 callback.Run(error); | 123 callback.Run(error); |
124 } | 124 } |
125 | 125 |
126 } // namespace file_system | 126 } // namespace file_system |
127 } // namespace drive | 127 } // namespace drive |
OLD | NEW |