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

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

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 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/script_executor.h" 5 #include "chrome/browser/extensions/script_executor.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/pickle.h" 9 #include "base/pickle.h"
10 #include "chrome/common/extensions/extension_messages.h"
11 #include "content/public/browser/render_view_host.h" 10 #include "content/public/browser/render_view_host.h"
12 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
13 #include "content/public/browser/web_contents_observer.h" 12 #include "content/public/browser/web_contents_observer.h"
13 #include "extensions/common/extension_messages.h"
14 #include "ipc/ipc_message.h" 14 #include "ipc/ipc_message.h"
15 #include "ipc/ipc_message_macros.h" 15 #include "ipc/ipc_message_macros.h"
16 16
17 namespace base { 17 namespace base {
18 class ListValue; 18 class ListValue;
19 } // namespace base 19 } // namespace base
20 20
21 namespace extensions { 21 namespace extensions {
22 22
23 namespace { 23 namespace {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 params.is_web_view = (process_type == WEB_VIEW_PROCESS); 131 params.is_web_view = (process_type == WEB_VIEW_PROCESS);
132 params.file_url = file_url; 132 params.file_url = file_url;
133 params.wants_result = (result_type == JSON_SERIALIZED_RESULT); 133 params.wants_result = (result_type == JSON_SERIALIZED_RESULT);
134 params.user_gesture = user_gesture; 134 params.user_gesture = user_gesture;
135 135
136 // Handler handles IPCs and deletes itself on completion. 136 // Handler handles IPCs and deletes itself on completion.
137 new Handler(script_observers_, web_contents_, params, callback); 137 new Handler(script_observers_, web_contents_, params, callback);
138 } 138 }
139 139
140 } // namespace extensions 140 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/permissions_updater.cc ('k') | chrome/browser/extensions/suggest_permission_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698