OLD | NEW |
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_DEBUG_INFO_COLLECTOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DEBUG_INFO_COLLECTOR_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DEBUG_INFO_COLLECTOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DEBUG_INFO_COLLECTOR_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/macros.h" |
10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
11 #include "components/drive/file_system_interface.h" | 11 #include "components/drive/file_system_interface.h" |
12 | 12 |
13 namespace drive { | 13 namespace drive { |
14 | 14 |
15 // This class provides some methods which are useful to show the debug | 15 // This class provides some methods which are useful to show the debug |
16 // info on chrome://drive-internals page. | 16 // info on chrome://drive-internals page. |
17 // All the method should be called on UI thread. | 17 // All the method should be called on UI thread. |
18 class DebugInfoCollector { | 18 class DebugInfoCollector { |
19 public: | 19 public: |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; | 59 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; |
60 | 60 |
61 base::ThreadChecker thread_checker_; | 61 base::ThreadChecker thread_checker_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(DebugInfoCollector); | 63 DISALLOW_COPY_AND_ASSIGN(DebugInfoCollector); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace drive | 66 } // namespace drive |
67 | 67 |
68 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DEBUG_INFO_COLLECTOR_H_ | 68 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DEBUG_INFO_COLLECTOR_H_ |
OLD | NEW |