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

Side by Side Diff: chrome/browser/extensions/api/terminal/terminal_private_api.cc

Issue 12089062: Move API functions registrations out of ExtensionFunctionRegistry. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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
None
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/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
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

OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/terminal/terminal_private_api.h ('k') | chrome/browser/extensions/api/test/test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698