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

Side by Side Diff: components/plugins/renderer/mobile_youtube_plugin.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/plugins/renderer/mobile_youtube_plugin.h" 5 #include "components/plugins/renderer/mobile_youtube_plugin.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
9 #include "base/strings/string_piece.h" 11 #include "base/strings/string_piece.h"
10 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
11 #include "base/values.h" 13 #include "base/values.h"
12 #include "content/public/common/content_constants.h" 14 #include "content/public/common/content_constants.h"
13 #include "content/public/renderer/render_frame.h" 15 #include "content/public/renderer/render_frame.h"
14 #include "gin/object_template_builder.h" 16 #include "gin/object_template_builder.h"
15 #include "third_party/WebKit/public/web/WebFrame.h" 17 #include "third_party/WebKit/public/web/WebFrame.h"
16 #include "ui/base/webui/jstemplate_builder.h" 18 #include "ui/base/webui/jstemplate_builder.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 } 117 }
116 118
117 gin::ObjectTemplateBuilder MobileYouTubePlugin::GetObjectTemplateBuilder( 119 gin::ObjectTemplateBuilder MobileYouTubePlugin::GetObjectTemplateBuilder(
118 v8::Isolate* isolate) { 120 v8::Isolate* isolate) {
119 return gin::Wrappable<MobileYouTubePlugin>::GetObjectTemplateBuilder(isolate) 121 return gin::Wrappable<MobileYouTubePlugin>::GetObjectTemplateBuilder(isolate)
120 .SetMethod("openYoutubeURL", 122 .SetMethod("openYoutubeURL",
121 &MobileYouTubePlugin::OpenYoutubeUrlCallback); 123 &MobileYouTubePlugin::OpenYoutubeUrlCallback);
122 } 124 }
123 125
124 } // namespace plugins 126 } // namespace plugins
OLDNEW
« no previous file with comments | « components/plugins/renderer/mobile_youtube_plugin.h ('k') | components/plugins/renderer/plugin_placeholder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698