| 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 COMPONENTS_WALLPAPER_WALLPAPER_MANAGER_BASE_H_ | 5 #ifndef COMPONENTS_WALLPAPER_WALLPAPER_MANAGER_BASE_H_ |
| 6 #define COMPONENTS_WALLPAPER_WALLPAPER_MANAGER_BASE_H_ | 6 #define COMPONENTS_WALLPAPER_WALLPAPER_MANAGER_BASE_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/gtest_prod_util.h" | |
| 15 #include "base/memory/ref_counted_memory.h" | 14 #include "base/memory/ref_counted_memory.h" |
| 16 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 18 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 19 #include "base/threading/sequenced_worker_pool.h" | 18 #include "base/threading/sequenced_worker_pool.h" |
| 20 #include "base/time/time.h" | 19 #include "base/time/time.h" |
| 21 #include "base/timer/timer.h" | 20 #include "base/timer/timer.h" |
| 22 #include "components/user_manager/user.h" | 21 #include "components/user_manager/user.h" |
| 23 #include "components/user_manager/user_image/user_image.h" | 22 #include "components/user_manager/user_image/user_image.h" |
| 24 #include "components/wallpaper/wallpaper_export.h" | 23 #include "components/wallpaper/wallpaper_export.h" |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 | 609 |
| 611 // Current decoded default image is stored in cache. | 610 // Current decoded default image is stored in cache. |
| 612 scoped_ptr<user_manager::UserImage> default_wallpaper_image_; | 611 scoped_ptr<user_manager::UserImage> default_wallpaper_image_; |
| 613 | 612 |
| 614 base::WeakPtrFactory<WallpaperManagerBase> weak_factory_; | 613 base::WeakPtrFactory<WallpaperManagerBase> weak_factory_; |
| 615 | 614 |
| 616 private: | 615 private: |
| 617 DISALLOW_COPY_AND_ASSIGN(WallpaperManagerBase); | 616 DISALLOW_COPY_AND_ASSIGN(WallpaperManagerBase); |
| 618 }; | 617 }; |
| 619 | 618 |
| 620 } // namespace chromeos | 619 } // namespace wallpaper |
| 621 | 620 |
| 622 #endif // COMPONENTS_WALLPAPER_WALLPAPER_MANAGER_BASE_H_ | 621 #endif // COMPONENTS_WALLPAPER_WALLPAPER_MANAGER_BASE_H_ |
| OLD | NEW |