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

Side by Side Diff: chrome/browser/extensions/api/execute_code_function.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "chrome/browser/extensions/api/execute_code_function.h" 5 #include "chrome/browser/extensions/api/execute_code_function.h"
6 6
7 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" 7 #include "chrome/browser/extensions/api/tabs/tabs_constants.h"
8 #include "chrome/browser/extensions/image_loader.h" 8 #include "chrome/browser/extensions/image_loader.h"
9 #include "chrome/browser/extensions/script_executor.h" 9 #include "chrome/browser/extensions/script_executor.h"
10 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" 10 #include "chrome/common/extensions/api/i18n/default_locale_handler.h"
11 #include "chrome/common/extensions/extension_file_util.h" 11 #include "chrome/common/extensions/extension_file_util.h"
12 #include "chrome/common/extensions/extension_messages.h"
13 #include "chrome/common/extensions/message_bundle.h" 12 #include "chrome/common/extensions/message_bundle.h"
14 #include "extensions/browser/file_reader.h" 13 #include "extensions/browser/file_reader.h"
15 #include "extensions/common/error_utils.h" 14 #include "extensions/common/error_utils.h"
15 #include "extensions/common/extension_messages.h"
16 #include "net/base/net_util.h" 16 #include "net/base/net_util.h"
17 #include "ui/base/resource/resource_bundle.h" 17 #include "ui/base/resource/resource_bundle.h"
18 18
19 namespace extensions { 19 namespace extensions {
20 20
21 namespace keys = tabs_constants; 21 namespace keys = tabs_constants;
22 using api::tabs::InjectDetails; 22 using api::tabs::InjectDetails;
23 23
24 ExecuteCodeFunction::ExecuteCodeFunction() { 24 ExecuteCodeFunction::ExecuteCodeFunction() {
25 } 25 }
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 int32 on_page_id, 208 int32 on_page_id,
209 const GURL& on_url, 209 const GURL& on_url,
210 const base::ListValue& result) { 210 const base::ListValue& result) {
211 if (!error.empty()) 211 if (!error.empty())
212 SetError(error); 212 SetError(error);
213 213
214 SendResponse(error.empty()); 214 SendResponse(error.empty());
215 } 215 }
216 216
217 } // namespace extensions 217 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698