// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "xwalk/application/common/installer/xpk_package.h"
+#include "xwalk/application/common/package/xpk_package.h"
#include "base/file_util.h"
#include "base/files/scoped_file.h"
std::string(reinterpret_cast<char*>(&key_.front()), key_.size());
id_ = GenerateId(public_key);
}
- return;
}
bool XPKPackage::VerifySignature() {
return true;
}
-bool XPKPackage::Extract(base::FilePath* target_path) {
+bool XPKPackage::ExtractToTemporaryDir(base::FilePath* target_path) {
if (is_extracted_) {
*target_path = temp_dir_.path();
return true;
return false;
}
- return Package::Extract(target_path);
+ return Package::ExtractToTemporaryDir(target_path);
}
} // namespace application