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

Side by Side Diff: extensions/browser/api/capture_web_contents_function_impl.h

Issue 538063003: Move execute_code_function to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn build Created 6 years, 3 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 #ifndef EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_IMPL_H_
6 #define EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_IMPL_H_
7
5 #include "extensions/browser/api/capture_web_contents_function.h" 8 #include "extensions/browser/api/capture_web_contents_function.h"
6 9
7 #include "base/base64.h" 10 #include "base/base64.h"
8 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
9 #include "content/public/browser/render_view_host.h" 12 #include "content/public/browser/render_view_host.h"
10 #include "content/public/browser/render_widget_host_view.h" 13 #include "content/public/browser/render_widget_host_view.h"
11 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
12 #include "extensions/browser/extension_function.h" 15 #include "extensions/browser/extension_function.h"
13 #include "extensions/common/constants.h" 16 #include "extensions/common/constants.h"
14 #include "ui/gfx/codec/jpeg_codec.h" 17 #include "ui/gfx/codec/jpeg_codec.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 136 }
134 137
135 template <typename T> 138 template <typename T>
136 bool CaptureWebContentsFunction<T>::ValidationFailure( 139 bool CaptureWebContentsFunction<T>::ValidationFailure(
137 CaptureWebContentsFunction<T>* function) { 140 CaptureWebContentsFunction<T>* function) {
138 return T::ValidationFailure(function); 141 return T::ValidationFailure(function);
139 } 142 }
140 143
141 } // namespace extensions 144 } // namespace extensions
142 145
146 #endif // EXTENSIONS_BROWSER_API_CAPTURE_WEB_CONTENTS_FUNCTION_IMPL_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/capture_web_contents_function.h ('k') | extensions/browser/api/execute_code_function.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698