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

Side by Side Diff: chrome/installer/util/non_updating_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/non_updating_app_registration_data.h" 5 #include "chrome/installer/util/non_updating_app_registration_data.h"
6 6
7 NonUpdatingAppRegistrationData::NonUpdatingAppRegistrationData( 7 NonUpdatingAppRegistrationData::NonUpdatingAppRegistrationData(
8 const base::string16& key_path) : key_path_(key_path) {} 8 const base::string16& key_path) : key_path_(key_path) {}
9 9
10 NonUpdatingAppRegistrationData::~NonUpdatingAppRegistrationData() {} 10 NonUpdatingAppRegistrationData::~NonUpdatingAppRegistrationData() {}
11 11
12 base::string16 NonUpdatingAppRegistrationData::GetAppGuid() const {
13 return base::string16();
14 }
15
16 base::string16 NonUpdatingAppRegistrationData::GetStateKey() const { 12 base::string16 NonUpdatingAppRegistrationData::GetStateKey() const {
17 return key_path_; 13 return key_path_;
18 } 14 }
19 15
20 base::string16 NonUpdatingAppRegistrationData::GetStateMediumKey() const { 16 base::string16 NonUpdatingAppRegistrationData::GetStateMediumKey() const {
21 return key_path_; 17 return key_path_;
22 } 18 }
23 19
24 base::string16 NonUpdatingAppRegistrationData::GetVersionKey() const { 20 base::string16 NonUpdatingAppRegistrationData::GetVersionKey() const {
25 return key_path_; 21 return key_path_;
26 } 22 }
OLDNEW
« no previous file with comments | « chrome/installer/util/non_updating_app_registration_data.h ('k') | chrome/installer/util/test_app_registration_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698