OLD | NEW |
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/renderer/extensions/dispatcher.h" | 5 #include "chrome/renderer/extensions/dispatcher.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/debug/alias.h" | 9 #include "base/debug/alias.h" |
10 #include "base/json/json_reader.h" | 10 #include "base/json/json_reader.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/string_util.h" | |
13 #include "base/strings/string_piece.h" | 12 #include "base/strings/string_piece.h" |
14 #include "base/strings/string_split.h" | 13 #include "base/strings/string_split.h" |
| 14 #include "base/strings/string_util.h" |
15 #include "chrome/common/child_process_logging.h" | 15 #include "chrome/common/child_process_logging.h" |
16 #include "chrome/common/chrome_switches.h" | 16 #include "chrome/common/chrome_switches.h" |
17 #include "chrome/common/chrome_version_info.h" | 17 #include "chrome/common/chrome_version_info.h" |
18 #include "chrome/common/extensions/api/extension_api.h" | 18 #include "chrome/common/extensions/api/extension_api.h" |
19 #include "chrome/common/extensions/background_info.h" | 19 #include "chrome/common/extensions/background_info.h" |
20 #include "chrome/common/extensions/extension.h" | 20 #include "chrome/common/extensions/extension.h" |
21 #include "chrome/common/extensions/extension_messages.h" | 21 #include "chrome/common/extensions/extension_messages.h" |
22 #include "chrome/common/extensions/features/base_feature_provider.h" | 22 #include "chrome/common/extensions/features/base_feature_provider.h" |
23 #include "chrome/common/extensions/features/feature.h" | 23 #include "chrome/common/extensions/features/feature.h" |
24 #include "chrome/common/extensions/manifest.h" | 24 #include "chrome/common/extensions/manifest.h" |
(...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1448 RenderView* background_view = | 1448 RenderView* background_view = |
1449 ExtensionHelper::GetBackgroundPage(extension_id); | 1449 ExtensionHelper::GetBackgroundPage(extension_id); |
1450 if (background_view) { | 1450 if (background_view) { |
1451 background_view->Send(new ExtensionHostMsg_EventAck( | 1451 background_view->Send(new ExtensionHostMsg_EventAck( |
1452 background_view->GetRoutingID())); | 1452 background_view->GetRoutingID())); |
1453 } | 1453 } |
1454 } | 1454 } |
1455 } | 1455 } |
1456 | 1456 |
1457 } // namespace extensions | 1457 } // namespace extensions |
OLD | NEW |