diff options
author | avi <avi@chromium.org> | 2015-12-22 16:39:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-23 00:40:04 +0000 |
commit | c9cec102fb11a2f3ca3156244446da2d3cdc36b8 (patch) | |
tree | b71268f8bd987d4a93d16e674f6e190462791f69 /extensions/browser/value_store | |
parent | 389a09adfd1cfd035c37306cc10db23480930c28 (diff) | |
download | chromium_src-c9cec102fb11a2f3ca3156244446da2d3cdc36b8.zip chromium_src-c9cec102fb11a2f3ca3156244446da2d3cdc36b8.tar.gz chromium_src-c9cec102fb11a2f3ca3156244446da2d3cdc36b8.tar.bz2 |
Switch to standard integer types in extensions/browser/.
BUG=138542
TBR=benwells@chromium.org
Review URL: https://codereview.chromium.org/1549643002
Cr-Commit-Position: refs/heads/master@{#366702}
Diffstat (limited to 'extensions/browser/value_store')
7 files changed, 17 insertions, 1 deletions
diff --git a/extensions/browser/value_store/leveldb_value_store.cc b/extensions/browser/value_store/leveldb_value_store.cc index cc6975b..9849842 100644 --- a/extensions/browser/value_store/leveldb_value_store.cc +++ b/extensions/browser/value_store/leveldb_value_store.cc @@ -4,12 +4,15 @@ #include "extensions/browser/value_store/leveldb_value_store.h" +#include <stdint.h> + #include <utility> #include "base/files/file_util.h" #include "base/json/json_reader.h" #include "base/json/json_writer.h" #include "base/logging.h" +#include "base/macros.h" #include "base/strings/string_number_conversions.h" #include "base/strings/string_util.h" #include "base/strings/stringprintf.h" @@ -329,7 +332,7 @@ bool LeveldbValueStore::OnMemoryDump( return true; std::string value; - uint64 size; + uint64_t size; bool res = db_->GetProperty("leveldb.approximate-memory-usage", &value); DCHECK(res); res = base::StringToUint64(value, &size); diff --git a/extensions/browser/value_store/leveldb_value_store.h b/extensions/browser/value_store/leveldb_value_store.h index 300672e..52ea667 100644 --- a/extensions/browser/value_store/leveldb_value_store.h +++ b/extensions/browser/value_store/leveldb_value_store.h @@ -5,11 +5,14 @@ #ifndef EXTENSIONS_BROWSER_VALUE_STORE_LEVELDB_VALUE_STORE_H_ #define EXTENSIONS_BROWSER_VALUE_STORE_LEVELDB_VALUE_STORE_H_ +#include <stddef.h> + #include <string> #include <vector> #include "base/compiler_specific.h" #include "base/files/file_path.h" +#include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/trace_event/memory_dump_provider.h" #include "extensions/browser/value_store/value_store.h" diff --git a/extensions/browser/value_store/leveldb_value_store_unittest.cc b/extensions/browser/value_store/leveldb_value_store_unittest.cc index bf83706..6aeda43 100644 --- a/extensions/browser/value_store/leveldb_value_store_unittest.cc +++ b/extensions/browser/value_store/leveldb_value_store_unittest.cc @@ -4,6 +4,8 @@ #include "extensions/browser/value_store/value_store_unittest.h" +#include <stddef.h> + #include "base/files/file_enumerator.h" #include "base/files/file_util.h" #include "base/files/scoped_temp_dir.h" diff --git a/extensions/browser/value_store/testing_value_store.h b/extensions/browser/value_store/testing_value_store.h index f439694..55ed6b6 100644 --- a/extensions/browser/value_store/testing_value_store.h +++ b/extensions/browser/value_store/testing_value_store.h @@ -5,10 +5,13 @@ #ifndef EXTENSIONS_BROWSER_VALUE_STORE_TESTING_VALUE_STORE_H_ #define EXTENSIONS_BROWSER_VALUE_STORE_TESTING_VALUE_STORE_H_ +#include <stddef.h> + #include <string> #include <vector> #include "base/compiler_specific.h" +#include "base/macros.h" #include "extensions/browser/value_store/value_store.h" // ValueStore for testing, with an in-memory storage but the ability to diff --git a/extensions/browser/value_store/value_store.h b/extensions/browser/value_store/value_store.h index cddc9aa..8ca110f 100644 --- a/extensions/browser/value_store/value_store.h +++ b/extensions/browser/value_store/value_store.h @@ -5,10 +5,13 @@ #ifndef EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_H_ #define EXTENSIONS_BROWSER_VALUE_STORE_VALUE_STORE_H_ +#include <stddef.h> + #include <string> #include <utility> #include <vector> +#include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/values.h" #include "extensions/browser/value_store/value_store_change.h" diff --git a/extensions/browser/value_store/value_store_frontend.cc b/extensions/browser/value_store/value_store_frontend.cc index 0a46fe0..6f37bbc 100644 --- a/extensions/browser/value_store/value_store_frontend.cc +++ b/extensions/browser/value_store/value_store_frontend.cc @@ -9,6 +9,7 @@ #include "base/bind.h" #include "base/files/file_path.h" #include "base/logging.h" +#include "base/macros.h" #include "base/trace_event/trace_event.h" #include "content/public/browser/browser_thread.h" #include "extensions/browser/value_store/leveldb_value_store.h" diff --git a/extensions/browser/value_store/value_store_frontend.h b/extensions/browser/value_store/value_store_frontend.h index 8eb1c1c..972efad 100644 --- a/extensions/browser/value_store/value_store_frontend.h +++ b/extensions/browser/value_store/value_store_frontend.h @@ -8,6 +8,7 @@ #include <string> #include "base/callback.h" +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" |