OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_EXTENSIONS_FILE_MANAGER_JOB_EVENT_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_JOB_EVENT_ROUTER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_JOB_EVENT_ROUTER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_JOB_EVENT_ROUTER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/linked_ptr.h" |
15 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
17 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
18 #include "base/time/time.h" | 19 #include "base/time/time.h" |
19 #include "base/values.h" | 20 #include "base/values.h" |
20 #include "chrome/common/extensions/api/file_manager_private.h" | 21 #include "chrome/common/extensions/api/file_manager_private.h" |
21 #include "components/drive/job_list.h" | 22 #include "components/drive/job_list.h" |
22 #include "extensions/browser/extension_event_histogram_value.h" | 23 #include "extensions/browser/extension_event_histogram_value.h" |
23 #include "url/gurl.h" | 24 #include "url/gurl.h" |
24 | 25 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 // Note: This should remain the last member so it'll be destroyed and | 105 // Note: This should remain the last member so it'll be destroyed and |
105 // invalidate the weak pointers before any other members are destroyed. | 106 // invalidate the weak pointers before any other members are destroyed. |
106 base::WeakPtrFactory<JobEventRouter> weak_factory_; | 107 base::WeakPtrFactory<JobEventRouter> weak_factory_; |
107 | 108 |
108 DISALLOW_COPY_AND_ASSIGN(JobEventRouter); | 109 DISALLOW_COPY_AND_ASSIGN(JobEventRouter); |
109 }; | 110 }; |
110 | 111 |
111 } // namespace file_manager | 112 } // namespace file_manager |
112 | 113 |
113 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_JOB_EVENT_ROUTER_H_ | 114 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_JOB_EVENT_ROUTER_H_ |
OLD | NEW |