ComponentUnpacker 57 chrome/browser/component_updater/component_patcher.cc void ComponentPatcher::Start(const ComponentUnpacker::Callback& callback) { ComponentUnpacker 67 chrome/browser/component_updater/component_patcher.cc DonePatching(ComponentUnpacker::kDeltaBadCommands, 0); ComponentUnpacker 76 chrome/browser/component_updater/component_patcher.cc DonePatching(ComponentUnpacker::kNone, 0); ComponentUnpacker 80 chrome/browser/component_updater/component_patcher.cc DonePatching(ComponentUnpacker::kDeltaBadCommands, 0); ComponentUnpacker 87 chrome/browser/component_updater/component_patcher.cc DonePatching(ComponentUnpacker::kDeltaUnsupportedCommand, 0); ComponentUnpacker 101 chrome/browser/component_updater/component_patcher.cc void ComponentPatcher::DonePatchingFile(ComponentUnpacker::Error error, ComponentUnpacker 103 chrome/browser/component_updater/component_patcher.cc if (error != ComponentUnpacker::kNone) { ComponentUnpacker 111 chrome/browser/component_updater/component_patcher.cc void ComponentPatcher::DonePatching(ComponentUnpacker::Error error, ComponentUnpacker 70 chrome/browser/component_updater/component_patcher.h void Start(const ComponentUnpacker::Callback& callback); ComponentUnpacker 81 chrome/browser/component_updater/component_patcher.h void DonePatchingFile(ComponentUnpacker::Error error, int extended_error); ComponentUnpacker 83 chrome/browser/component_updater/component_patcher.h void DonePatching(ComponentUnpacker::Error error, int extended_error); ComponentUnpacker 89 chrome/browser/component_updater/component_patcher.h ComponentUnpacker::Callback callback_; ComponentUnpacker 162 chrome/browser/component_updater/component_patcher_operation.cc const ComponentUnpacker::Callback& callback, ComponentUnpacker 170 chrome/browser/component_updater/component_patcher_operation.cc DoneRunning(ComponentUnpacker::kDeltaBadCommands, 0); ComponentUnpacker 176 chrome/browser/component_updater/component_patcher_operation.cc ComponentUnpacker::Error parse_result = DoParseArguments( ComponentUnpacker 178 chrome/browser/component_updater/component_patcher_operation.cc if (parse_result != ComponentUnpacker::kNone) { ComponentUnpacker 186 chrome/browser/component_updater/component_patcher_operation.cc DoneRunning(ComponentUnpacker::kIoError, 0); ComponentUnpacker 195 chrome/browser/component_updater/component_patcher_operation.cc void DeltaUpdateOp::DoneRunning(ComponentUnpacker::Error error, ComponentUnpacker 197 chrome/browser/component_updater/component_patcher_operation.cc if (error == ComponentUnpacker::kNone) ComponentUnpacker 206 chrome/browser/component_updater/component_patcher_operation.cc ComponentUnpacker::Error DeltaUpdateOp::CheckHash() { ComponentUnpacker 210 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kDeltaVerificationFailure; ComponentUnpacker 214 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kDeltaVerificationFailure; ComponentUnpacker 221 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kDeltaVerificationFailure; ComponentUnpacker 223 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kNone; ComponentUnpacker 238 chrome/browser/component_updater/component_patcher_operation.cc ComponentUnpacker::Error DeltaUpdateOpCopy::DoParseArguments( ComponentUnpacker 244 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kDeltaBadCommands; ComponentUnpacker 247 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kDeltaMissingExistingFile; ComponentUnpacker 249 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kNone; ComponentUnpacker 252 chrome/browser/component_updater/component_patcher_operation.cc void DeltaUpdateOpCopy::DoRun(const ComponentUnpacker::Callback& callback) { ComponentUnpacker 254 chrome/browser/component_updater/component_patcher_operation.cc callback.Run(ComponentUnpacker::kDeltaOperationFailure, 0); ComponentUnpacker 256 chrome/browser/component_updater/component_patcher_operation.cc callback.Run(ComponentUnpacker::kNone, 0); ComponentUnpacker 263 chrome/browser/component_updater/component_patcher_operation.cc ComponentUnpacker::Error DeltaUpdateOpCreate::DoParseArguments( ComponentUnpacker 269 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kDeltaBadCommands; ComponentUnpacker 274 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kNone; ComponentUnpacker 277 chrome/browser/component_updater/component_patcher_operation.cc void DeltaUpdateOpCreate::DoRun(const ComponentUnpacker::Callback& callback) { ComponentUnpacker 279 chrome/browser/component_updater/component_patcher_operation.cc callback.Run(ComponentUnpacker::kDeltaOperationFailure, 0); ComponentUnpacker 281 chrome/browser/component_updater/component_patcher_operation.cc callback.Run(ComponentUnpacker::kNone, 0); ComponentUnpacker 318 chrome/browser/component_updater/component_patcher_operation.cc ComponentUnpacker::kNone, ComponentUnpacker 328 chrome/browser/component_updater/component_patcher_operation.cc ComponentUnpacker::kDeltaOperationFailure, ComponentUnpacker 339 chrome/browser/component_updater/component_patcher_operation.cc ComponentUnpacker::kDeltaPatchProcessFailure, ComponentUnpacker 353 chrome/browser/component_updater/component_patcher_operation.cc ComponentUnpacker::Error DeltaUpdateOpPatch::DoParseArguments( ComponentUnpacker 361 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kDeltaBadCommands; ComponentUnpacker 364 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kDeltaMissingExistingFile; ComponentUnpacker 369 chrome/browser/component_updater/component_patcher_operation.cc return ComponentUnpacker::kNone; ComponentUnpacker 372 chrome/browser/component_updater/component_patcher_operation.cc void DeltaUpdateOpPatch::DoRun(const ComponentUnpacker::Callback& callback) { ComponentUnpacker 391 chrome/browser/component_updater/component_patcher_operation.cc DonePatching(ComponentUnpacker::kNone, 0); ComponentUnpacker 393 chrome/browser/component_updater/component_patcher_operation.cc DonePatching(ComponentUnpacker::kDeltaOperationFailure, result); ComponentUnpacker 396 chrome/browser/component_updater/component_patcher_operation.cc void DeltaUpdateOpPatch::DonePatching(ComponentUnpacker::Error error, ComponentUnpacker 399 chrome/browser/component_updater/component_patcher_operation.cc if (error != ComponentUnpacker::kNone) { ComponentUnpacker 38 chrome/browser/component_updater/component_patcher_operation.h const ComponentUnpacker::Callback& callback, ComponentUnpacker 55 chrome/browser/component_updater/component_patcher_operation.h ComponentUnpacker::Error CheckHash(); ComponentUnpacker 60 chrome/browser/component_updater/component_patcher_operation.h virtual ComponentUnpacker::Error DoParseArguments( ComponentUnpacker 68 chrome/browser/component_updater/component_patcher_operation.h virtual void DoRun(const ComponentUnpacker::Callback& callback) = 0; ComponentUnpacker 73 chrome/browser/component_updater/component_patcher_operation.h void DoneRunning(ComponentUnpacker::Error error, int extended_error); ComponentUnpacker 76 chrome/browser/component_updater/component_patcher_operation.h ComponentUnpacker::Callback callback_; ComponentUnpacker 93 chrome/browser/component_updater/component_patcher_operation.h virtual ComponentUnpacker::Error DoParseArguments( ComponentUnpacker 98 chrome/browser/component_updater/component_patcher_operation.h virtual void DoRun(const ComponentUnpacker::Callback& callback) OVERRIDE; ComponentUnpacker 117 chrome/browser/component_updater/component_patcher_operation.h virtual ComponentUnpacker::Error DoParseArguments( ComponentUnpacker 122 chrome/browser/component_updater/component_patcher_operation.h virtual void DoRun(const ComponentUnpacker::Callback& callback) OVERRIDE; ComponentUnpacker 185 chrome/browser/component_updater/component_patcher_operation.h void DonePatching(ComponentUnpacker::Error error, int error_code); ComponentUnpacker 191 chrome/browser/component_updater/component_patcher_operation.h virtual ComponentUnpacker::Error DoParseArguments( ComponentUnpacker 196 chrome/browser/component_updater/component_patcher_operation.h virtual void DoRun(const ComponentUnpacker::Callback& callback) OVERRIDE; ComponentUnpacker 198 chrome/browser/component_updater/component_patcher_operation.h ComponentUnpacker::Callback callback_; ComponentUnpacker 97 chrome/browser/component_updater/component_unpacker.cc ComponentUnpacker::ComponentUnpacker( ComponentUnpacker 135 chrome/browser/component_updater/component_unpacker.cc bool ComponentUnpacker::UnpackInternal() { ComponentUnpacker 139 chrome/browser/component_updater/component_unpacker.cc void ComponentUnpacker::Unpack(const Callback& callback) { ComponentUnpacker 145 chrome/browser/component_updater/component_unpacker.cc bool ComponentUnpacker::Verify() { ComponentUnpacker 180 chrome/browser/component_updater/component_unpacker.cc bool ComponentUnpacker::Unzip() { ComponentUnpacker 195 chrome/browser/component_updater/component_unpacker.cc bool ComponentUnpacker::BeginPatching() { ComponentUnpacker 212 chrome/browser/component_updater/component_unpacker.cc base::Bind(&ComponentUnpacker::EndPatching, ComponentUnpacker 213 chrome/browser/component_updater/component_unpacker.cc scoped_refptr<ComponentUnpacker>(this)))); ComponentUnpacker 216 chrome/browser/component_updater/component_unpacker.cc base::Bind(&ComponentUnpacker::EndPatching, ComponentUnpacker 217 chrome/browser/component_updater/component_unpacker.cc scoped_refptr<ComponentUnpacker>(this), ComponentUnpacker 224 chrome/browser/component_updater/component_unpacker.cc void ComponentUnpacker::EndPatching(Error error, int extended_error) { ComponentUnpacker 242 chrome/browser/component_updater/component_unpacker.cc void ComponentUnpacker::Install() { ComponentUnpacker 264 chrome/browser/component_updater/component_unpacker.cc void ComponentUnpacker::Finish() { ComponentUnpacker 272 chrome/browser/component_updater/component_unpacker.cc ComponentUnpacker::~ComponentUnpacker() { ComponentUnpacker 66 chrome/browser/component_updater/component_unpacker.h class ComponentUnpacker : public base::RefCountedThreadSafe<ComponentUnpacker> { ComponentUnpacker 96 chrome/browser/component_updater/component_unpacker.h ComponentUnpacker(const std::vector<uint8>& pk_hash, ComponentUnpacker 108 chrome/browser/component_updater/component_unpacker.h friend class base::RefCountedThreadSafe<ComponentUnpacker>; ComponentUnpacker 110 chrome/browser/component_updater/component_unpacker.h virtual ~ComponentUnpacker(); ComponentUnpacker 155 chrome/browser/component_updater/component_unpacker.h DISALLOW_COPY_AND_ASSIGN(ComponentUnpacker); ComponentUnpacker 230 chrome/browser/component_updater/component_updater_service.cc ComponentUnpacker::Error error, ComponentUnpacker 234 chrome/browser/component_updater/component_updater_service.cc ComponentUnpacker::Error error, ComponentUnpacker 258 chrome/browser/component_updater/component_updater_service.cc scoped_refptr<ComponentUnpacker> unpacker_; ComponentUnpacker 855 chrome/browser/component_updater/component_updater_service.cc unpacker_ = new ComponentUnpacker(context->pk_hash, ComponentUnpacker 869 chrome/browser/component_updater/component_updater_service.cc ComponentUnpacker::Error error, ComponentUnpacker 887 chrome/browser/component_updater/component_updater_service.cc ComponentUnpacker::Error error, ComponentUnpacker 893 chrome/browser/component_updater/component_updater_service.cc case ComponentUnpacker::kNone: ComponentUnpacker 895 chrome/browser/component_updater/component_updater_service.cc case ComponentUnpacker::kInstallerError: ComponentUnpacker 903 chrome/browser/component_updater/component_updater_service.cc const bool is_success = error == ComponentUnpacker::kNone; ComponentUnpacker 31 chrome/browser/component_updater/test/component_patcher_unittest.cc void Set(component_updater::ComponentUnpacker::Error error, int extra_code); ComponentUnpacker 45 chrome/browser/component_updater/test/component_patcher_unittest.cc void TestCallback::Set(component_updater::ComponentUnpacker::Error error, ComponentUnpacker 102 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_EQ(ComponentUnpacker::kNone, callback.error_); ComponentUnpacker 133 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_EQ(ComponentUnpacker::kNone, callback.error_); ComponentUnpacker 169 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_EQ(ComponentUnpacker::kNone, callback.error_); ComponentUnpacker 204 chrome/browser/component_updater/test/component_patcher_unittest.cc EXPECT_EQ(ComponentUnpacker::kNone, callback.error_);