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

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

Issue 7946003: C++ Readability for grt. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more trailing newline removed Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/copy_reg_key_work_item.h ('k') | chrome/installer/util/registry_key_backup.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/copy_reg_key_work_item.cc
diff --git a/chrome/installer/util/copy_reg_key_work_item.cc b/chrome/installer/util/copy_reg_key_work_item.cc
index 71f6fd052507756661aea0e8f3b2c5179d3c2748..9fbac76cffac2c05a6bb12c75bfdd0f46d71a3cb 100644
--- a/chrome/installer/util/copy_reg_key_work_item.cc
+++ b/chrome/installer/util/copy_reg_key_work_item.cc
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// Implementation of a work item that replaces the contents of one registry key
+// with that of another (i.e., the destination is erased prior to the copy).
+
#include "chrome/installer/util/copy_reg_key_work_item.h"
#include <shlwapi.h>
@@ -80,7 +83,7 @@ bool CopyRegKeyWorkItem::Do() {
SHDeleteKey(predefined_root_, dest_key_path_.c_str());
// Handle like a success.
result = ERROR_SUCCESS;
- // -- FALL THROUGH TO SUCCESS CASE --
+ // -- Fall through to success case. --
case ERROR_SUCCESS:
break;
default:
« no previous file with comments | « chrome/installer/util/copy_reg_key_work_item.h ('k') | chrome/installer/util/registry_key_backup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698