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

Unified Diff: chrome/browser/sync_file_system/local/local_file_sync_service.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
Index: chrome/browser/sync_file_system/local/local_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/local/local_file_sync_service.h b/chrome/browser/sync_file_system/local/local_file_sync_service.h
index 26c594991e62d509eb7cfb1cb0ebfe6b9e85c15d..3c6a53129c1eb16b08562d7174b85e8a306f9046 100644
--- a/chrome/browser/sync_file_system/local/local_file_sync_service.h
+++ b/chrome/browser/sync_file_system/local/local_file_sync_service.h
@@ -5,12 +5,14 @@
#ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_LOCAL_FILE_SYNC_SERVICE_H_
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_LOCAL_FILE_SYNC_SERVICE_H_
+#include <stdint.h>
+
#include <map>
#include <set>
#include <string>
-#include "base/basictypes.h"
#include "base/callback.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
@@ -60,7 +62,7 @@ class LocalFileSyncService
// |pending_changes_hint| indicates the pending queue length to help sync
// scheduling but the value may not be accurately reflect the real-time
// value.
- virtual void OnLocalChangeAvailable(int64 pending_changes_hint) = 0;
+ virtual void OnLocalChangeAvailable(int64_t pending_changes_hint) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(Observer);
@@ -157,7 +159,7 @@ class LocalFileSyncService
class OriginChangeMap {
public:
- typedef std::map<GURL, int64> Map;
+ typedef std::map<GURL, int64_t> Map;
OriginChangeMap();
~OriginChangeMap();
@@ -167,10 +169,10 @@ class LocalFileSyncService
// Returns false if no origins to process.
bool NextOriginToProcess(GURL* origin);
- int64 GetTotalChangeCount() const;
+ int64_t GetTotalChangeCount() const;
// Update change_count_map_ for |origin|.
- void SetOriginChangeCount(const GURL& origin, int64 changes);
+ void SetOriginChangeCount(const GURL& origin, int64_t changes);
void SetOriginEnabled(const GURL& origin, bool enabled);

Powered by Google App Engine
This is Rietveld 408576698