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

Unified Diff: content/renderer/presentation/presentation_dispatcher.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (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: content/renderer/presentation/presentation_dispatcher.h
diff --git a/content/renderer/presentation/presentation_dispatcher.h b/content/renderer/presentation/presentation_dispatcher.h
index 2b78b757119f88b7652e4cfbf72f1296f4bf5b95..ad0954951c835b24da310f8578c2f078af439829 100644
--- a/content/renderer/presentation/presentation_dispatcher.h
+++ b/content/renderer/presentation/presentation_dispatcher.h
@@ -5,11 +5,15 @@
#ifndef CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_
#define CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <map>
#include <queue>
#include "base/compiler_specific.h"
#include "base/id_map.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
#include "content/common/presentation/presentation_service.mojom.h"
@@ -52,7 +56,7 @@ class CONTENT_EXPORT PresentationDispatcher
const blink::WebString& presentationUrl,
const blink::WebString& presentationId,
presentation::PresentationMessageType type,
- const uint8* data,
+ const uint8_t* data,
size_t length);
// WebPresentationClient implementation.
@@ -69,11 +73,11 @@ class CONTENT_EXPORT PresentationDispatcher
const blink::WebString& message) override;
void sendArrayBuffer(const blink::WebString& presentationUrl,
const blink::WebString& presentationId,
- const uint8* data,
+ const uint8_t* data,
size_t length) override;
void sendBlobData(const blink::WebString& presentationUrl,
const blink::WebString& presentationId,
- const uint8* data,
+ const uint8_t* data,
size_t length) override;
void closeSession(const blink::WebString& presentationUrl,
const blink::WebString& presentationId) override;
« no previous file with comments | « content/renderer/pepper/video_encoder_shim.cc ('k') | content/renderer/presentation/presentation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698