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

Side by Side Diff: ios/public/provider/chrome/browser/omaha/test_omaha_service_provider.mm

Issue 2500933002: [ios] Adds an Initialize() method to OmahaServiceProvider. (Closed)
Patch Set: Rebased. 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 unified diff | Download patch
« no previous file with comments | « ios/public/provider/chrome/browser/omaha/test_omaha_service_provider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #import "ios/public/provider/chrome/browser/omaha/test_omaha_service_provider.h" 5 #import "ios/public/provider/chrome/browser/omaha/test_omaha_service_provider.h"
6 6
7 namespace {
8
9 const char kTestUpdateServerURL[] = "https://iosupdatetest.chromium.org";
10
11 const char kTestApplicationID[] = "{TestApplicationID}";
12
13 // Brand-codes are composed of four capital letters.
14 const char kTestBrandCode[] = "RIMZ";
15
16 } // namespace
17
7 TestOmahaServiceProvider::TestOmahaServiceProvider() {} 18 TestOmahaServiceProvider::TestOmahaServiceProvider() {}
8 19
9 TestOmahaServiceProvider::~TestOmahaServiceProvider() {} 20 TestOmahaServiceProvider::~TestOmahaServiceProvider() {}
10 21
22 void TestOmahaServiceProvider::Initialize() {}
23
11 GURL TestOmahaServiceProvider::GetUpdateServerURL() const { 24 GURL TestOmahaServiceProvider::GetUpdateServerURL() const {
12 return GURL(); 25 return GURL(kTestUpdateServerURL);
13 } 26 }
14 27
15 std::string TestOmahaServiceProvider::GetApplicationID() const { 28 std::string TestOmahaServiceProvider::GetApplicationID() const {
16 return std::string(); 29 return kTestApplicationID;
17 } 30 }
18 31
19 std::string TestOmahaServiceProvider::GetBrandCode() const { 32 std::string TestOmahaServiceProvider::GetBrandCode() const {
20 return std::string(); 33 return kTestBrandCode;
21 } 34 }
22 35
23 void TestOmahaServiceProvider::AppendExtraAttributes( 36 void TestOmahaServiceProvider::AppendExtraAttributes(
24 const std::string& tag, 37 const std::string& tag,
25 OmahaXmlWriter* writer) const {} 38 OmahaXmlWriter* writer) const {}
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/omaha/test_omaha_service_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698