Chromium Code Reviews| Index: chrome/installer/util/channel_info.cc |
| =================================================================== |
| --- chrome/installer/util/channel_info.cc (revision 71561) |
| +++ chrome/installer/util/channel_info.cc (working copy) |
| @@ -116,11 +116,12 @@ |
| namespace installer { |
| bool ChannelInfo::Initialize(const RegKey& key) { |
| - return key.ReadValue(google_update::kRegApField, &value_); |
| + return (key.ReadValue(google_update::kRegApField, &value_) == ERROR_SUCCESS); |
| } |
| bool ChannelInfo::Write(RegKey* key) const { |
| - return key->WriteValue(google_update::kRegApField, value_.c_str()); |
| + return (key->WriteValue(google_update::kRegApField, value_.c_str()) |
| + == ERROR_SUCCESS); |
|
grt (UTC plus 2)
2011/01/16 04:19:48
Wrapping and indentation.
amit
2011/01/16 07:54:28
Done.
|
| } |
| bool ChannelInfo::GetChannelName(std::wstring* channel_name) const { |