| 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 IOS_PUBLIC_PROVIDER_CHROME_BROWSER_OMAHA_TEST_OMAHA_SERVICE_PROVIDER_H_ | 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_OMAHA_TEST_OMAHA_SERVICE_PROVIDER_H_ |
| 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_OMAHA_TEST_OMAHA_SERVICE_PROVIDER_H_ | 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_OMAHA_TEST_OMAHA_SERVICE_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "ios/public/provider/chrome/browser/omaha/omaha_service_provider.h" | 8 #include "ios/public/provider/chrome/browser/omaha/omaha_service_provider.h" |
| 9 | 9 |
| 10 class TestOmahaServiceProvider : public OmahaServiceProvider { | 10 class TestOmahaServiceProvider : public OmahaServiceProvider { |
| 11 public: | 11 public: |
| 12 TestOmahaServiceProvider(); | 12 TestOmahaServiceProvider(); |
| 13 ~TestOmahaServiceProvider() override; | 13 ~TestOmahaServiceProvider() override; |
| 14 | 14 |
| 15 // OmahaServiceProvider. | 15 // OmahaServiceProvider. |
| 16 void Initialize() override; |
| 16 GURL GetUpdateServerURL() const override; | 17 GURL GetUpdateServerURL() const override; |
| 17 std::string GetApplicationID() const override; | 18 std::string GetApplicationID() const override; |
| 18 std::string GetBrandCode() const override; | 19 std::string GetBrandCode() const override; |
| 19 void AppendExtraAttributes(const std::string& tag, | 20 void AppendExtraAttributes(const std::string& tag, |
| 20 OmahaXmlWriter* writer) const override; | 21 OmahaXmlWriter* writer) const override; |
| 21 | 22 |
| 22 private: | 23 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(TestOmahaServiceProvider); | 24 DISALLOW_COPY_AND_ASSIGN(TestOmahaServiceProvider); |
| 24 }; | 25 }; |
| 25 | 26 |
| 26 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_OMAHA_TEST_OMAHA_SERVICE_PROVIDER_
H_ | 27 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_OMAHA_TEST_OMAHA_SERVICE_PROVIDER_
H_ |
| OLD | NEW |