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

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

Issue 6100003: Update checks of multi-installs now use the proper app guid.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/installer/util/package_properties.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/package_properties.h" 5 #include "chrome/installer/util/package_properties.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "chrome/installer/util/browser_distribution.h" 9 #include "chrome/installer/util/browser_distribution.h"
10 #include "chrome/installer/util/google_update_constants.h" 10 #include "chrome/installer/util/google_update_constants.h"
11 #include "chrome/installer/util/google_update_settings.h" 11 #include "chrome/installer/util/google_update_settings.h"
(...skipping 23 matching lines...) Expand all
35 const std::wstring& state_key, 35 const std::wstring& state_key,
36 const std::wstring& state_medium_key, 36 const std::wstring& state_medium_key,
37 const std::wstring& version_key) 37 const std::wstring& version_key)
38 : guid_(guid), state_key_(state_key), state_medium_key_(state_medium_key), 38 : guid_(guid), state_key_(state_key), state_medium_key_(state_medium_key),
39 version_key_(version_key) { 39 version_key_(version_key) {
40 } 40 }
41 41
42 PackagePropertiesImpl::~PackagePropertiesImpl() { 42 PackagePropertiesImpl::~PackagePropertiesImpl() {
43 } 43 }
44 44
45 const std::wstring& PackagePropertiesImpl::GetAppGuid() {
46 return guid_;
47 }
48
45 const std::wstring& PackagePropertiesImpl::GetStateKey() { 49 const std::wstring& PackagePropertiesImpl::GetStateKey() {
46 return state_key_; 50 return state_key_;
47 } 51 }
48 52
49 const std::wstring& PackagePropertiesImpl::GetStateMediumKey() { 53 const std::wstring& PackagePropertiesImpl::GetStateMediumKey() {
50 return state_medium_key_; 54 return state_medium_key_;
51 } 55 }
52 56
53 const std::wstring& PackagePropertiesImpl::GetVersionKey() { 57 const std::wstring& PackagePropertiesImpl::GetVersionKey() {
54 return version_key_; 58 return version_key_;
(...skipping 26 matching lines...) Expand all
81 GetKeyForGuid(google_update::kRegPathClientStateMedium, 85 GetKeyForGuid(google_update::kRegPathClientStateMedium,
82 kChromePackageGuid), 86 kChromePackageGuid),
83 GetKeyForGuid(google_update::kRegPathClients, 87 GetKeyForGuid(google_update::kRegPathClients,
84 kChromePackageGuid)) { 88 kChromePackageGuid)) {
85 } 89 }
86 90
87 ChromePackageProperties::~ChromePackageProperties() { 91 ChromePackageProperties::~ChromePackageProperties() {
88 } 92 }
89 93
90 } // namespace installer 94 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/util/package_properties.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698