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

Side by Side Diff: chrome/browser/chromeos/drive/drive_scheduler.h

Issue 11106007: drive: Rename 'gdata' namespace to 'drive' in chrome/browser/chromeos/drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DRIVE_SCHEDULER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SCHEDULER_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SCHEDULER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SCHEDULER_H_
7 7
8 #include "base/memory/linked_ptr.h" 8 #include "base/memory/linked_ptr.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/chromeos/drive/drive_file_system_interface.h" 10 #include "chrome/browser/chromeos/drive/drive_file_system_interface.h"
11 #include "net/base/network_change_notifier.h" 11 #include "net/base/network_change_notifier.h"
12 12
13 #include <deque> 13 #include <deque>
14 14
15 class Profile; 15 class Profile;
16 16
17 namespace gdata { 17 namespace drive {
18 18
19 namespace file_system { 19 namespace file_system {
20 class RemoveOperation; 20 class RemoveOperation;
21 } 21 }
22 22
23 // The DriveScheduler is responsible for queuing and scheduling drive 23 // The DriveScheduler is responsible for queuing and scheduling drive
24 // operations. It is responisble for handling retry logic, rate limiting, as 24 // operations. It is responisble for handling retry logic, rate limiting, as
25 // concurrency as appropriate. 25 // concurrency as appropriate.
26 // 26 //
27 // TODO(zork): Provide an interface for querying the number of jobs, and state 27 // TODO(zork): Provide an interface for querying the number of jobs, and state
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 Profile* profile_; 167 Profile* profile_;
168 168
169 // Note: This should remain the last member so it'll be destroyed and 169 // Note: This should remain the last member so it'll be destroyed and
170 // invalidate its weak pointers before any other members are destroyed. 170 // invalidate its weak pointers before any other members are destroyed.
171 base::WeakPtrFactory<DriveScheduler> weak_ptr_factory_; 171 base::WeakPtrFactory<DriveScheduler> weak_ptr_factory_;
172 172
173 DISALLOW_COPY_AND_ASSIGN(DriveScheduler); 173 DISALLOW_COPY_AND_ASSIGN(DriveScheduler);
174 }; 174 };
175 175
176 } // namespace gdata 176 } // namespace drive
177 177
178 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SCHEDULER_H_ 178 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SCHEDULER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_resource_metadata_unittest.cc ('k') | chrome/browser/chromeos/drive/drive_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698