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

Unified Diff: components/policy/core/browser/url_blacklist_manager.h

Issue 1543423002: Switch to standard integer types in components/policy/. (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
Index: components/policy/core/browser/url_blacklist_manager.h
diff --git a/components/policy/core/browser/url_blacklist_manager.h b/components/policy/core/browser/url_blacklist_manager.h
index 2fd782e545ef300089f715c2b186e57f13fe3310..23e6734db64a99e43dd0ee3ca3cc35503d857ae4 100644
--- a/components/policy/core/browser/url_blacklist_manager.h
+++ b/components/policy/core/browser/url_blacklist_manager.h
@@ -5,13 +5,16 @@
#ifndef COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_MANAGER_H_
#define COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_MANAGER_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <map>
#include <string>
-#include "base/basictypes.h"
#include "base/callback_forward.h"
#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -78,7 +81,7 @@ class POLICY_EXPORT URLBlacklist {
std::string* scheme,
std::string* host,
bool* match_subdomains,
- uint16* port,
+ uint16_t* port,
std::string* path,
std::string* query);
@@ -92,7 +95,7 @@ class POLICY_EXPORT URLBlacklist {
const std::string& scheme,
const std::string& host,
bool match_subdomains,
- uint16 port,
+ uint16_t port,
const std::string& path,
const std::string& query,
bool allow);
« no previous file with comments | « components/policy/core/browser/proxy_policy_handler.cc ('k') | components/policy/core/browser/url_blacklist_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698