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

Side by Side Diff: chrome/browser/extensions/extension_function_dispatcher.cc

Issue 10453101: Convert most of the rest of chrome to ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/extensions/extension_function_dispatcher.h" 5 #include "chrome/browser/extensions/extension_function_dispatcher.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/json/json_string_value_serializer.h" 9 #include "base/json/json_string_value_serializer.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/browser/renderer_host/chrome_render_message_filter.h" 24 #include "chrome/browser/renderer_host/chrome_render_message_filter.h"
25 #include "chrome/common/extensions/api/extension_api.h" 25 #include "chrome/common/extensions/api/extension_api.h"
26 #include "chrome/common/extensions/extension_messages.h" 26 #include "chrome/common/extensions/extension_messages.h"
27 #include "chrome/common/extensions/extension_set.h" 27 #include "chrome/common/extensions/extension_set.h"
28 #include "chrome/common/url_constants.h" 28 #include "chrome/common/url_constants.h"
29 #include "content/public/browser/render_process_host.h" 29 #include "content/public/browser/render_process_host.h"
30 #include "content/public/browser/render_view_host.h" 30 #include "content/public/browser/render_view_host.h"
31 #include "ipc/ipc_message.h" 31 #include "ipc/ipc_message.h"
32 #include "ipc/ipc_message_macros.h" 32 #include "ipc/ipc_message_macros.h"
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
34 #include "third_party/skia/include/core/SkBitmap.h"
35 #include "webkit/glue/resource_type.h" 34 #include "webkit/glue/resource_type.h"
36 35
37 using extensions::Extension; 36 using extensions::Extension;
38 using extensions::ExtensionAPI; 37 using extensions::ExtensionAPI;
39 using content::RenderViewHost; 38 using content::RenderViewHost;
40 using WebKit::WebSecurityOrigin; 39 using WebKit::WebSecurityOrigin;
41 40
42 namespace { 41 namespace {
43 42
44 const char kAccessDenied[] = "access denied"; 43 const char kAccessDenied[] = "access denied";
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 } 287 }
289 288
290 // static 289 // static
291 void ExtensionFunctionDispatcher::SendAccessDenied( 290 void ExtensionFunctionDispatcher::SendAccessDenied(
292 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) { 291 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) {
293 ListValue empty_list; 292 ListValue empty_list;
294 ipc_sender->Send(new ExtensionMsg_Response( 293 ipc_sender->Send(new ExtensionMsg_Response(
295 routing_id, request_id, false, empty_list, 294 routing_id, request_id, false, empty_list,
296 "Access to extension API denied.")); 295 "Access to extension API denied."));
297 } 296 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/extensions/extension_install_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698