| 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_UI_APP_LIST_PROFILE_LOADER_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_PROFILE_LOADER_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_PROFILE_LOADER_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_PROFILE_LOADER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 11 | 12 |
| 12 namespace base { | 13 namespace base { |
| 13 class FilePath; | 14 class FilePath; |
| 14 } | 15 } |
| 15 | 16 |
| 16 class Profile; | 17 class Profile; |
| 17 class ProfileLoaderUnittest; | 18 class ProfileLoaderUnittest; |
| 18 class ProfileStore; | 19 class ProfileStore; |
| 19 class ScopedKeepAlive; | 20 class ScopedKeepAlive; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 50 scoped_ptr<ScopedKeepAlive> keep_alive_; | 51 scoped_ptr<ScopedKeepAlive> keep_alive_; |
| 51 int profile_load_sequence_id_; | 52 int profile_load_sequence_id_; |
| 52 int pending_profile_loads_; | 53 int pending_profile_loads_; |
| 53 | 54 |
| 54 base::WeakPtrFactory<ProfileLoader> weak_factory_; | 55 base::WeakPtrFactory<ProfileLoader> weak_factory_; |
| 55 | 56 |
| 56 DISALLOW_COPY_AND_ASSIGN(ProfileLoader); | 57 DISALLOW_COPY_AND_ASSIGN(ProfileLoader); |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 #endif // CHROME_BROWSER_UI_APP_LIST_PROFILE_LOADER_H_ | 60 #endif // CHROME_BROWSER_UI_APP_LIST_PROFILE_LOADER_H_ |
| OLD | NEW |