| 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_PRINTING_PPD_PROVIDER_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_PRINTING_PPD_PROVIDER_FACTORY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_PRINTING_PPD_PROVIDER_FACTORY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_PRINTING_PPD_PROVIDER_FACTORY_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include "base/memory/ref_counted.h" |
| 9 | 9 |
| 10 class Profile; | 10 class Profile; |
| 11 | 11 |
| 12 namespace chromeos { | 12 namespace chromeos { |
| 13 namespace printing { | 13 namespace printing { |
| 14 | 14 |
| 15 class PpdProvider; | 15 class PpdProvider; |
| 16 | 16 |
| 17 std::unique_ptr<PpdProvider> CreateProvider(Profile* profile); | 17 scoped_refptr<PpdProvider> CreateProvider(Profile* profile); |
| 18 | 18 |
| 19 } // namespace printing | 19 } // namespace printing |
| 20 } // namsepace chromeos | 20 } // namsepace chromeos |
| 21 | 21 |
| 22 #endif // CHROME_BROWSER_CHROMEOS_PRINTING_PPD_PROVIDER_FACTORY_H_ | 22 #endif // CHROME_BROWSER_CHROMEOS_PRINTING_PPD_PROVIDER_FACTORY_H_ |
| OLD | NEW |