Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: ios/public/provider/chrome/browser/omaha/test_omaha_service_provider.h

Issue 2482173002: [ios] Adds OmahaServiceProvider. (Closed)
Patch Set: XML Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/public/provider/chrome/browser/omaha/test_omaha_service_provider.h
diff --git a/ios/public/provider/chrome/browser/omaha/test_omaha_service_provider.h b/ios/public/provider/chrome/browser/omaha/test_omaha_service_provider.h
new file mode 100644
index 0000000000000000000000000000000000000000..78536529bd508c070e4a77dc300fb0b16c119bf4
--- /dev/null
+++ b/ios/public/provider/chrome/browser/omaha/test_omaha_service_provider.h
@@ -0,0 +1,26 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_OMAHA_TEST_OMAHA_SERVICE_PROVIDER_H_
+#define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_OMAHA_TEST_OMAHA_SERVICE_PROVIDER_H_
+
+#include "ios/public/provider/chrome/browser/omaha/omaha_service_provider.h"
+
+class TestOmahaServiceProvider : public OmahaServiceProvider {
+ public:
+ TestOmahaServiceProvider();
+ ~TestOmahaServiceProvider() override;
+
+ // OmahaServiceProvider.
+ GURL GetUpdateServerURL() const override;
+ std::string GetApplicationID() const override;
+ std::string GetBrandCode() const override;
+ void AppendExtraAttributes(const std::string& tag,
+ OmahaXmlWriter* writer) const override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(TestOmahaServiceProvider);
+};
+
+#endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_OMAHA_TEST_OMAHA_SERVICE_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698