| 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 ATHENA_HOME_PUBLIC_HOME_CARD_H_ | 5 #ifndef ATHENA_HOME_PUBLIC_HOME_CARD_H_ |
| 6 #define ATHENA_HOME_PUBLIC_HOME_CARD_H_ | 6 #define ATHENA_HOME_PUBLIC_HOME_CARD_H_ |
| 7 | 7 |
| 8 #include "athena/athena_export.h" | 8 #include "athena/athena_export.h" |
| 9 | 9 |
| 10 namespace athena { | 10 namespace athena { |
| 11 class AppModelBuilder; |
| 11 | 12 |
| 12 class ATHENA_EXPORT HomeCard { | 13 class ATHENA_EXPORT HomeCard { |
| 13 public: | 14 public: |
| 14 // Creates and deletes the singleton object of the HomeCard | 15 // Creates and deletes the singleton object of the HomeCard |
| 15 // implementation. | 16 // implementation. Takes the ownership of |model_builder|. |
| 16 static HomeCard* Create(); | 17 static HomeCard* Create(AppModelBuilder* model_builder); |
| 17 static void Shutdown(); | 18 static void Shutdown(); |
| 18 | 19 |
| 19 virtual ~HomeCard() {} | 20 virtual ~HomeCard() {} |
| 20 }; | 21 }; |
| 21 | 22 |
| 22 } // namespace athena | 23 } // namespace athena |
| 23 | 24 |
| 24 #endif // ATHENA_HOME_PUBLIC_HOME_CARD_H_ | 25 #endif // ATHENA_HOME_PUBLIC_HOME_CARD_H_ |
| OLD | NEW |