| 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_UTILITY_IMPORTER_IMPORTER_CREATOR_H_ | 5 #ifndef CHROME_UTILITY_IMPORTER_IMPORTER_CREATOR_H_ |
| 6 #define CHROME_UTILITY_IMPORTER_IMPORTER_CREATOR_H_ | 6 #define CHROME_UTILITY_IMPORTER_IMPORTER_CREATOR_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" |
| 8 #include "chrome/common/importer/importer_type.h" | 9 #include "chrome/common/importer/importer_type.h" |
| 9 | 10 |
| 10 class Importer; | 11 class Importer; |
| 11 | 12 |
| 12 namespace importer { | 13 namespace importer { |
| 13 | 14 |
| 14 // Creates an Importer of the specified |type|. | 15 // Creates an Importer of the specified |type|. |
| 15 Importer* CreateImporterByType(ImporterType type); | 16 scoped_refptr<Importer> CreateImporterByType(ImporterType type); |
| 16 | 17 |
| 17 } // namespace importer | 18 } // namespace importer |
| 18 | 19 |
| 19 #endif // CHROME_UTILITY_IMPORTER_IMPORTER_CREATOR_H_ | 20 #endif // CHROME_UTILITY_IMPORTER_IMPORTER_CREATOR_H_ |
| OLD | NEW |