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

Unified Diff: apps/saved_files_service.cc

Issue 1499423004: Remove kint32max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint9
Patch Set: rebase 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 | « no previous file | base/basictypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/saved_files_service.cc
diff --git a/apps/saved_files_service.cc b/apps/saved_files_service.cc
index e4a4fd9b70f4816b9f68fdfb0627ed951d66efdc..46aadee434f1a49a10a9a195177a0045f238ba3b 100644
--- a/apps/saved_files_service.cc
+++ b/apps/saved_files_service.cc
@@ -4,11 +4,12 @@
#include "apps/saved_files_service.h"
+#include <stdint.h>
+
#include <algorithm>
#include <map>
#include "apps/saved_files_service_factory.h"
-#include "base/basictypes.h"
#include "base/containers/scoped_ptr_hash_map.h"
#include "base/value_conversions.h"
#include "chrome/browser/chrome_notification_types.h"
@@ -47,7 +48,7 @@ const char kFileEntryIsDirectory[] = "is_directory";
const char kFileEntrySequenceNumber[] = "sequence_number";
const size_t kMaxSavedFileEntries = 500;
-const int kMaxSequenceNumber = kint32max;
+const int kMaxSequenceNumber = INT32_MAX;
// These might be different to the constant values in tests.
size_t g_max_saved_file_entries = kMaxSavedFileEntries;
« no previous file with comments | « no previous file | base/basictypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698