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

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

Issue 12588009: drive: Pass through AboutResouce from server among callbacks in ChangeListLoader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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_CHANGE_LIST_LOADER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 DriveScheduler* scheduler_; // Not owned. 230 DriveScheduler* scheduler_; // Not owned.
231 DriveWebAppsRegistry* webapps_registry_; // Not owned. 231 DriveWebAppsRegistry* webapps_registry_; // Not owned.
232 DriveCache* cache_; // Not owned. 232 DriveCache* cache_; // Not owned.
233 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; 233 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
234 ObserverList<ChangeListLoaderObserver> observers_; 234 ObserverList<ChangeListLoaderObserver> observers_;
235 scoped_ptr<ChangeListProcessor> change_list_processor_; 235 scoped_ptr<ChangeListProcessor> change_list_processor_;
236 236
237 // Indicates whether there is a feed refreshing server request is in flight. 237 // Indicates whether there is a feed refreshing server request is in flight.
238 bool refreshing_; 238 bool refreshing_;
239 239
240 // Resource ID for the user's "My Drive" root. This must be retrieved from
241 // the server.
242 std::string drive_root_resource_id_;
243
240 // Note: This should remain the last member so it'll be destroyed and 244 // Note: This should remain the last member so it'll be destroyed and
241 // invalidate its weak pointers before any other members are destroyed. 245 // invalidate its weak pointers before any other members are destroyed.
242 base::WeakPtrFactory<ChangeListLoader> weak_ptr_factory_; 246 base::WeakPtrFactory<ChangeListLoader> weak_ptr_factory_;
243 DISALLOW_COPY_AND_ASSIGN(ChangeListLoader); 247 DISALLOW_COPY_AND_ASSIGN(ChangeListLoader);
244 }; 248 };
245 249
246 } // namespace drive 250 } // namespace drive
247 251
248 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ 252 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698