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

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

Issue 137903002: Files.app: Add a drive sync error event to the fileBrowserPrivate API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed typo. Created 6 years, 11 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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_REMOVE_PERFORMER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_REMOVE_PERFORMER_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_REMOVE_PERFORMER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_REMOVE_PERFORMER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 google_apis::GDataErrorCode status, 80 google_apis::GDataErrorCode status,
81 scoped_ptr<google_apis::ResourceEntry> resource_entry); 81 scoped_ptr<google_apis::ResourceEntry> resource_entry);
82 82
83 // Part of UnparentResource(). 83 // Part of UnparentResource().
84 void UnparentResourceAfterUpdateRemoteState( 84 void UnparentResourceAfterUpdateRemoteState(
85 const FileOperationCallback& callback, 85 const FileOperationCallback& callback,
86 const std::string& local_id, 86 const std::string& local_id,
87 google_apis::GDataErrorCode status); 87 google_apis::GDataErrorCode status);
88 88
89 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; 89 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
90 file_system::OperationObserver* observer_;
90 JobScheduler* scheduler_; 91 JobScheduler* scheduler_;
91 ResourceMetadata* metadata_; 92 ResourceMetadata* metadata_;
92 scoped_ptr<EntryRevertPerformer> entry_revert_performer_; 93 scoped_ptr<EntryRevertPerformer> entry_revert_performer_;
93 94
94 // Note: This should remain the last member so it'll be destroyed and 95 // Note: This should remain the last member so it'll be destroyed and
95 // invalidate the weak pointers before any other members are destroyed. 96 // invalidate the weak pointers before any other members are destroyed.
96 base::WeakPtrFactory<RemovePerformer> weak_ptr_factory_; 97 base::WeakPtrFactory<RemovePerformer> weak_ptr_factory_;
97 DISALLOW_COPY_AND_ASSIGN(RemovePerformer); 98 DISALLOW_COPY_AND_ASSIGN(RemovePerformer);
98 }; 99 };
99 100
100 } // namespace internal 101 } // namespace internal
101 } // namespace drive 102 } // namespace drive
102 103
103 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_REMOVE_PERFORMER_H_ 104 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_REMOVE_PERFORMER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_observer.h ('k') | chrome/browser/chromeos/drive/sync/remove_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698