OLD | NEW |
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 CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INTERNALS_UI_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INTERNALS_UI_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INTERNALS_UI_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INTERNALS_UI_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/containers/scoped_ptr_hash_map.h" | 11 #include "base/containers/scoped_ptr_hash_map.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "content/browser/service_worker/service_worker_context_observer.h" | 15 #include "content/browser/service_worker/service_worker_context_observer.h" |
16 #include "content/common/service_worker/service_worker_status_code.h" | 16 #include "content/common/service_worker/service_worker_status_code.h" |
17 #include "content/public/browser/web_ui_controller.h" | 17 #include "content/public/browser/web_ui_controller.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class ListValue; | 20 class ListValue; |
21 class DictionaryValue; | |
22 } | 21 } |
23 | 22 |
24 namespace content { | 23 namespace content { |
25 | 24 |
26 class StoragePartition; | 25 class StoragePartition; |
27 class ServiceWorkerContextWrapper; | 26 class ServiceWorkerContextWrapper; |
28 class ServiceWorkerVersion; | 27 class ServiceWorkerVersion; |
29 | 28 |
30 class ServiceWorkerInternalsUI | 29 class ServiceWorkerInternalsUI |
31 : public WebUIController, | 30 : public WebUIController, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 const StatusCallback& callback) const; | 67 const StatusCallback& callback) const; |
69 | 68 |
70 base::ScopedPtrHashMap<uintptr_t, std::unique_ptr<PartitionObserver>> | 69 base::ScopedPtrHashMap<uintptr_t, std::unique_ptr<PartitionObserver>> |
71 observers_; | 70 observers_; |
72 int next_partition_id_; | 71 int next_partition_id_; |
73 }; | 72 }; |
74 | 73 |
75 } // namespace content | 74 } // namespace content |
76 | 75 |
77 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INTERNALS_UI_H_ | 76 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INTERNALS_UI_H_ |
OLD | NEW |