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

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

Issue 640543002: Add histograms about files copied or movied files from or to Drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/job_scheduler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_JOB_SCHEDULER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 381
382 // The list of queued job info indexed by job IDs. 382 // The list of queued job info indexed by job IDs.
383 typedef IDMap<JobEntry, IDMapOwnPointer> JobIDMap; 383 typedef IDMap<JobEntry, IDMapOwnPointer> JobIDMap;
384 JobIDMap job_map_; 384 JobIDMap job_map_;
385 385
386 // The list of observers for the scheduler. 386 // The list of observers for the scheduler.
387 ObserverList<JobListObserver> observer_list_; 387 ObserverList<JobListObserver> observer_list_;
388 388
389 EventLogger* logger_; 389 EventLogger* logger_;
390 DriveServiceInterface* drive_service_; 390 DriveServiceInterface* drive_service_;
391 base::SequencedTaskRunner* blocking_task_runner_;
391 scoped_ptr<DriveUploaderInterface> uploader_; 392 scoped_ptr<DriveUploaderInterface> uploader_;
392 393
393 PrefService* pref_service_; 394 PrefService* pref_service_;
394 395
395 // Note: This should remain the last member so it'll be destroyed and 396 // Note: This should remain the last member so it'll be destroyed and
396 // invalidate its weak pointers before any other members are destroyed. 397 // invalidate its weak pointers before any other members are destroyed.
397 base::WeakPtrFactory<JobScheduler> weak_ptr_factory_; 398 base::WeakPtrFactory<JobScheduler> weak_ptr_factory_;
398 DISALLOW_COPY_AND_ASSIGN(JobScheduler); 399 DISALLOW_COPY_AND_ASSIGN(JobScheduler);
399 }; 400 };
400 401
401 } // namespace drive 402 } // namespace drive
402 403
403 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_ 404 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/job_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698