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

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

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 | « no previous file | chrome/installer/util/copy_reg_key_work_item.cc » ('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.h
diff --git a/chrome/installer/util/copy_reg_key_work_item.h b/chrome/installer/util/copy_reg_key_work_item.h
index cba85fef09036c9e7f2c3bf111f04b428234f61e..cb43b2c8eec1cfa629f9322e6a6c5584e8fcfc92 100644
--- a/chrome/installer/util/copy_reg_key_work_item.h
+++ b/chrome/installer/util/copy_reg_key_work_item.h
@@ -25,6 +25,8 @@ class CopyRegKeyWorkItem : public WorkItem {
virtual void Rollback() OVERRIDE;
private:
+ // Grant WorkItem access to the ctor (required by the existing WorkItem
+ // design).
friend class WorkItem;
// Neither |source_key_path| nor |dest_key_path| may be empty.
@@ -44,6 +46,7 @@ class CopyRegKeyWorkItem : public WorkItem {
// Path of the destination key.
std::wstring dest_key_path_;
+ // WorkItem::ALWAYS or WorkItem::IF_NOT_PRESENT.
CopyOverWriteOption overwrite_option_;
// Backup of the destination key.
« no previous file with comments | « no previous file | chrome/installer/util/copy_reg_key_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698