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

Side by Side Diff: chrome/browser/chromeos/file_manager/snapshot_manager.cc

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/file_manager/snapshot_manager.h" 5 #include "chrome/browser/chromeos/file_manager/snapshot_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/sys_info.h" 8 #include "base/sys_info.h"
9 #include "base/threading/sequenced_worker_pool.h"
10 #include "chrome/browser/chromeos/file_manager/app_id.h" 9 #include "chrome/browser/chromeos/file_manager/app_id.h"
11 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" 10 #include "chrome/browser/chromeos/file_manager/fileapi_util.h"
12 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
13 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
14 #include "google_apis/drive/task_util.h" 13 #include "google_apis/drive/task_util.h"
15 #include "storage/browser/blob/shareable_file_reference.h" 14 #include "storage/browser/blob/shareable_file_reference.h"
16 #include "storage/browser/fileapi/file_system_context.h" 15 #include "storage/browser/fileapi/file_system_context.h"
17 #include "third_party/cros_system_api/constants/cryptohome.h" 16 #include "third_party/cros_system_api/constants/cryptohome.h"
18 17
19 namespace file_manager { 18 namespace file_manager {
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 if (result != base::File::FILE_OK) { 205 if (result != base::File::FILE_OK) {
207 callback.Run(base::FilePath()); 206 callback.Run(base::FilePath());
208 return; 207 return;
209 } 208 }
210 209
211 file_refs_.push_back(FileReferenceWithSizeInfo(file_ref, file_info.size)); 210 file_refs_.push_back(FileReferenceWithSizeInfo(file_ref, file_info.size));
212 callback.Run(platform_path); 211 callback.Run(platform_path);
213 } 212 }
214 213
215 } // namespace file_manager 214 } // namespace file_manager
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/external_metrics.cc ('k') | chrome/browser/chromeos/input_method/input_method_syncer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698