| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ARC_ARC_DOWNLOADS_WATCHER_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_DOWNLOADS_WATCHER_ARC_DOWNLOADS_WATCHER_SERV
ICE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_DOWNLOADS_WATCHER_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_DOWNLOADS_WATCHER_ARC_DOWNLOADS_WATCHER_SERV
ICE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "components/arc/arc_service.h" | 12 #include "components/arc/arc_service.h" |
| 13 #include "components/arc/common/file_system.mojom.h" | 13 #include "components/arc/common/file_system.mojom.h" |
| 14 #include "components/arc/instance_holder.h" | 14 #include "components/arc/instance_holder.h" |
| 15 #include "mojo/public/cpp/bindings/array.h" | 15 #include "mojo/public/cpp/bindings/array.h" |
| 16 #include "mojo/public/cpp/bindings/string.h" | 16 #include "mojo/public/cpp/bindings/string.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 // Note: This should remain the last member so it'll be destroyed and | 52 // Note: This should remain the last member so it'll be destroyed and |
| 53 // invalidate the weak pointers before any other members are destroyed. | 53 // invalidate the weak pointers before any other members are destroyed. |
| 54 base::WeakPtrFactory<ArcDownloadsWatcherService> weak_ptr_factory_; | 54 base::WeakPtrFactory<ArcDownloadsWatcherService> weak_ptr_factory_; |
| 55 | 55 |
| 56 DISALLOW_COPY_AND_ASSIGN(ArcDownloadsWatcherService); | 56 DISALLOW_COPY_AND_ASSIGN(ArcDownloadsWatcherService); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace arc | 59 } // namespace arc |
| 60 | 60 |
| 61 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_DOWNLOADS_WATCHER_SERVICE_H_ | 61 #endif // CHROME_BROWSER_CHROMEOS_ARC_DOWNLOADS_WATCHER_ARC_DOWNLOADS_WATCHER_S
ERVICE_H_ |
| OLD | NEW |