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

Unified Diff: components/history/core/browser/history_backend.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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: components/history/core/browser/history_backend.h
diff --git a/components/history/core/browser/history_backend.h b/components/history/core/browser/history_backend.h
index 4e6c3e3e28980934961d71667baf74d9645cf152..f32fcbfd6d6fb3a6f6a041295292e004cbc7d61a 100644
--- a/components/history/core/browser/history_backend.h
+++ b/components/history/core/browser/history_backend.h
@@ -5,6 +5,9 @@
#ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
#define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <set>
#include <string>
#include <utility>
@@ -14,12 +17,14 @@
#include "base/containers/mru_cache.h"
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
+#include "base/macros.h"
#include "base/memory/memory_pressure_listener.h"
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "base/single_thread_task_runner.h"
#include "base/supports_user_data.h"
#include "base/task/cancelable_task_tracker.h"
+#include "build/build_config.h"
#include "components/favicon_base/favicon_usage_data.h"
#include "components/history/core/browser/expire_history_backend.h"
#include "components/history/core/browser/history_backend_notifier.h"
@@ -339,11 +344,11 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// Downloads -----------------------------------------------------------------
- uint32 GetNextDownloadId();
+ uint32_t GetNextDownloadId();
void QueryDownloads(std::vector<DownloadRow>* rows);
void UpdateDownload(const DownloadRow& data);
bool CreateDownload(const DownloadRow& history_info);
- void RemoveDownloads(const std::set<uint32>& ids);
+ void RemoveDownloads(const std::set<uint32_t>& ids);
// Keyword search terms ------------------------------------------------------
« no previous file with comments | « components/history/core/browser/expire_history_backend_unittest.cc ('k') | components/history/core/browser/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698