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/browser/extensions/api/terminal/terminal_private_api.h" | 5 #include "chrome/browser/extensions/api/terminal/terminal_private_api.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/json/json_writer.h" | 8 #include "base/json/json_writer.h" |
9 #include "base/sys_info.h" | 9 #include "base/sys_info.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 if (profile && | 65 if (profile && |
66 extensions::ExtensionSystem::Get(profile)->event_router()) { | 66 extensions::ExtensionSystem::Get(profile)->event_router()) { |
67 scoped_ptr<extensions::Event> event(new extensions::Event( | 67 scoped_ptr<extensions::Event> event(new extensions::Event( |
68 terminal_private::OnProcessOutput::kEventName, args.Pass())); | 68 terminal_private::OnProcessOutput::kEventName, args.Pass())); |
69 extensions::ExtensionSystem::Get(profile)->event_router()-> | 69 extensions::ExtensionSystem::Get(profile)->event_router()-> |
70 DispatchEventToExtension(extension_id, event.Pass()); | 70 DispatchEventToExtension(extension_id, event.Pass()); |
71 } | 71 } |
72 } | 72 } |
73 | 73 |
74 } // namespace | 74 } // namespace |
error: old chunk mismatch |
None
OLD | NEW |