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

Unified Diff: chrome/installer/util/shell_util.cc

Issue 1486593003: shell_util: Minor tweaks to comments that didn't land in previous CL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shell_util-registryentry-public-ctors
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/shell_util.cc
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
index 307c705fbb989ce2cece899691cfa352b1ab9c8a..edcfb5c156135149378876042238b414763c170d 100644
--- a/chrome/installer/util/shell_util.cc
+++ b/chrome/installer/util/shell_util.cc
@@ -156,8 +156,8 @@ bool UserSpecificRegistrySuffix::GetSuffix(base::string16* suffix) {
// This class represents a single registry entry (a key and its value). A
// collection of registry entries should be collected into a list and written
-// atomically using a WorkItemList. This is preferred to writing to the registry
-// directly, because if anything goes wrong, they can be rolled back atomically.
+// transactionally using a WorkItemList. This is preferred to writing to the
+// registry directly, because if anything goes wrong, they can be rolled back.
class RegistryEntry {
public:
// A bit-field enum of places to look for this key in the Windows registry.
@@ -212,15 +212,15 @@ class RegistryEntry {
base::string16 delegate_clsid;
};
- // Create a object that represent default value of a key
+ // Create an object that represent default value of a key.
RegistryEntry(const base::string16& key_path, const base::string16& value);
- // Create a object that represent a key of type REG_SZ
+ // Create an object that represent a key of type REG_SZ.
RegistryEntry(const base::string16& key_path,
const base::string16& name,
const base::string16& value);
- // Create a object that represent a key of integer type
+ // Create an object that represent a key of integer type.
RegistryEntry(const base::string16& key_path,
const base::string16& name,
DWORD value);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698