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

Unified Diff: components/drive/fake_free_disk_space_getter.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « components/drive/fake_file_system.cc ('k') | components/drive/fake_free_disk_space_getter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/fake_free_disk_space_getter.h
diff --git a/components/drive/fake_free_disk_space_getter.h b/components/drive/fake_free_disk_space_getter.h
index ba6dd3dee50a9618da88a0849bd59ab64ee86900..5d39ab9ca8a1d1ad3469fb95e1ff97bddb313d64 100644
--- a/components/drive/fake_free_disk_space_getter.h
+++ b/components/drive/fake_free_disk_space_getter.h
@@ -5,9 +5,11 @@
#ifndef COMPONENTS_DRIVE_FAKE_FREE_DISK_SPACE_GETTER_H_
#define COMPONENTS_DRIVE_FAKE_FREE_DISK_SPACE_GETTER_H_
+#include <stdint.h>
+
#include <list>
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "components/drive/file_cache.h"
namespace drive {
@@ -19,7 +21,7 @@ class FakeFreeDiskSpaceGetter : public internal::FreeDiskSpaceGetterInterface {
FakeFreeDiskSpaceGetter();
~FakeFreeDiskSpaceGetter() override;
- void set_default_value(int64 value) { default_value_ = value; }
+ void set_default_value(int64_t value) { default_value_ = value; }
// Pushes the given value to the back of the fake value list.
//
@@ -27,14 +29,14 @@ class FakeFreeDiskSpaceGetter : public internal::FreeDiskSpaceGetterInterface {
// |default_value_| repeatedly.
// Otherwise, AmountOfFreeDiskSpace() will return the value at the front of
// the list and removes it from the list.
- void PushFakeValue(int64 value);
+ void PushFakeValue(int64_t value);
// FreeDiskSpaceGetterInterface overrides.
- int64 AmountOfFreeDiskSpace() override;
+ int64_t AmountOfFreeDiskSpace() override;
private:
- std::list<int64> fake_values_;
- int64 default_value_;
+ std::list<int64_t> fake_values_;
+ int64_t default_value_;
DISALLOW_COPY_AND_ASSIGN(FakeFreeDiskSpaceGetter);
};
« no previous file with comments | « components/drive/fake_file_system.cc ('k') | components/drive/fake_free_disk_space_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698