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

Side by Side Diff: chrome/browser/sync_file_system/task_logger.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SYNC_FILE_SYSTEM_TASK_LOGGER_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_TASK_LOGGER_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_TASK_LOGGER_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_TASK_LOGGER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
14 #include "base/observer_list.h" 15 #include "base/observer_list.h"
15 #include "base/time/time.h" 16 #include "base/time/time.h"
16 17
17 namespace sync_file_system { 18 namespace sync_file_system {
18 19
19 class TaskLogger : public base::SupportsWeakPtr<TaskLogger> { 20 class TaskLogger : public base::SupportsWeakPtr<TaskLogger> {
20 public: 21 public:
21 struct TaskLog { 22 struct TaskLog {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 std::deque<TaskLog*> log_history_; 60 std::deque<TaskLog*> log_history_;
60 61
61 base::ObserverList<Observer> observers_; 62 base::ObserverList<Observer> observers_;
62 63
63 DISALLOW_COPY_AND_ASSIGN(TaskLogger); 64 DISALLOW_COPY_AND_ASSIGN(TaskLogger);
64 }; 65 };
65 66
66 } // namespace sync_file_system 67 } // namespace sync_file_system
67 68
68 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_TASK_LOGGER_H_ 69 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_TASK_LOGGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/sync_process_runner_unittest.cc ('k') | chrome/browser/sync_file_system/task_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698