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

Unified Diff: components/component_updater/component_unpacker.h

Issue 590333002: Replace usage of basictypes.h with a combination of stdint.h and base/macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 3 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
Index: components/component_updater/component_unpacker.h
diff --git a/components/component_updater/component_unpacker.h b/components/component_updater/component_unpacker.h
index 6c4b3511cb9a248441a92ed0631635c5bbc24f26..97d57dc79b6e950c8744f717bb4498d5c10f8bd8 100644
--- a/components/component_updater/component_unpacker.h
+++ b/components/component_updater/component_unpacker.h
@@ -5,13 +5,14 @@
#ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UNPACKER_H_
#define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UNPACKER_H_
+#include <stdint.h>
#include <string>
#include <vector>
-#include "base/basictypes.h"
#include "base/callback.h"
#include "base/files/file_path.h"
#include "base/json/json_file_value_serializer.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/sequenced_task_runner.h"
@@ -94,7 +95,7 @@ class ComponentUnpacker : public base::RefCountedThreadSafe<ComponentUnpacker> {
// Constructs an unpacker for a specific component unpacking operation.
// |pk_hash| is the expected/ public key SHA256 hash. |path| is the current
// location of the CRX.
- ComponentUnpacker(const std::vector<uint8>& pk_hash,
+ ComponentUnpacker(const std::vector<uint8_t>& pk_hash,
const base::FilePath& path,
const std::string& fingerprint,
ComponentInstaller* installer,
@@ -139,7 +140,7 @@ class ComponentUnpacker : public base::RefCountedThreadSafe<ComponentUnpacker> {
// Finish is responsible for calling the callback provided in Start().
void Finish();
- std::vector<uint8> pk_hash_;
+ std::vector<uint8_t> pk_hash_;
base::FilePath path_;
base::FilePath unpack_path_;
base::FilePath unpack_diff_path_;
« no previous file with comments | « components/component_updater/component_patcher_operation.cc ('k') | components/component_updater/component_unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698