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

Side by Side Diff: chrome/installer/util/test_app_registration_data.cc

Issue 2718063002: Use install_static::GetAppGuid in place of BrowserDistribution and AppRegistrationData. (Closed)
Patch Set: huangs feedback plus Chromium test fix Created 3 years, 9 months 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "chrome/installer/util/test_app_registration_data.h" 5 #include "chrome/installer/util/test_app_registration_data.h"
6 6
7 TestAppRegistrationData::TestAppRegistrationData() { 7 TestAppRegistrationData::TestAppRegistrationData() {
8 } 8 }
9 9
10 TestAppRegistrationData::~TestAppRegistrationData() { 10 TestAppRegistrationData::~TestAppRegistrationData() {
11 } 11 }
12 12
13 base::string16 TestAppRegistrationData::GetAppGuid() const {
14 return L"test_app_guid";
15 }
16
17 base::string16 TestAppRegistrationData::GetStateKey() const { 13 base::string16 TestAppRegistrationData::GetStateKey() const {
18 return L"Software\\Chromium\\ClientState\\test_app_guid"; 14 return L"Software\\Chromium\\ClientState\\test_app_guid";
19 } 15 }
20 16
21 base::string16 TestAppRegistrationData::GetStateMediumKey() const { 17 base::string16 TestAppRegistrationData::GetStateMediumKey() const {
22 return L"Software\\Chromium\\ClientStateMedium\\test_app_guid"; 18 return L"Software\\Chromium\\ClientStateMedium\\test_app_guid";
23 } 19 }
24 20
25 base::string16 TestAppRegistrationData::GetVersionKey() const { 21 base::string16 TestAppRegistrationData::GetVersionKey() const {
26 return L"Software\\Chromium\\Clients\\test_app_guid"; 22 return L"Software\\Chromium\\Clients\\test_app_guid";
27 } 23 }
OLDNEW
« no previous file with comments | « chrome/installer/util/test_app_registration_data.h ('k') | chrome/installer/util/updating_app_registration_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698