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

Side by Side Diff: chrome/browser/chromeos/drive/sync/remove_performer.cc

Issue 168363003: drive: Move ClientContext to job_scheduler.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
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/sync/remove_performer.h" 5 #include "chrome/browser/chromeos/drive/sync/remove_performer.h"
6 6
7 #include "base/sequenced_task_runner.h" 7 #include "base/sequenced_task_runner.h"
8 #include "chrome/browser/chromeos/drive/drive.pb.h" 8 #include "chrome/browser/chromeos/drive/drive.pb.h"
9 #include "chrome/browser/chromeos/drive/file_system/operation_observer.h" 9 #include "chrome/browser/chromeos/drive/file_system/operation_observer.h"
10 #include "chrome/browser/chromeos/drive/file_system_util.h" 10 #include "chrome/browser/chromeos/drive/file_system_util.h"
11 #include "chrome/browser/chromeos/drive/job_scheduler.h" 11 #include "chrome/browser/chromeos/drive/job_scheduler.h"
12 #include "chrome/browser/chromeos/drive/resource_entry_conversion.h" 12 #include "chrome/browser/chromeos/drive/resource_entry_conversion.h"
13 #include "chrome/browser/chromeos/drive/resource_metadata.h"
13 #include "chrome/browser/chromeos/drive/sync/entry_revert_performer.h" 14 #include "chrome/browser/chromeos/drive/sync/entry_revert_performer.h"
14 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
15 16
16 using content::BrowserThread; 17 using content::BrowserThread;
17 18
18 namespace drive { 19 namespace drive {
19 namespace internal { 20 namespace internal {
20 21
21 namespace { 22 namespace {
22 23
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 247
247 base::PostTaskAndReplyWithResult( 248 base::PostTaskAndReplyWithResult(
248 blocking_task_runner_.get(), 249 blocking_task_runner_.get(),
249 FROM_HERE, 250 FROM_HERE,
250 base::Bind(&UpdateLocalStateAfterUnparent, metadata_, local_id), 251 base::Bind(&UpdateLocalStateAfterUnparent, metadata_, local_id),
251 callback); 252 callback);
252 } 253 }
253 254
254 } // namespace internal 255 } // namespace internal
255 } // namespace drive 256 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698