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

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

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 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
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"
11 #include "chrome/browser/extensions/api/terminal/terminal_extension_helper.h" 11 #include "chrome/browser/extensions/api/terminal/terminal_extension_helper.h"
12 #include "chrome/browser/extensions/extension_service.h" 12 #include "chrome/browser/extensions/extension_service.h"
13 #include "chrome/browser/extensions/extension_system.h"
14 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/common/extensions/api/terminal_private.h" 14 #include "chrome/common/extensions/api/terminal_private.h"
16 #include "chromeos/process_proxy/process_proxy_registry.h" 15 #include "chromeos/process_proxy/process_proxy_registry.h"
17 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
18 #include "extensions/browser/event_router.h" 17 #include "extensions/browser/event_router.h"
18 #include "extensions/browser/extension_system.h"
19 19
20 namespace terminal_private = extensions::api::terminal_private; 20 namespace terminal_private = extensions::api::terminal_private;
21 namespace OnTerminalResize = 21 namespace OnTerminalResize =
22 extensions::api::terminal_private::OnTerminalResize; 22 extensions::api::terminal_private::OnTerminalResize;
23 namespace OpenTerminalProcess = 23 namespace OpenTerminalProcess =
24 extensions::api::terminal_private::OpenTerminalProcess; 24 extensions::api::terminal_private::OpenTerminalProcess;
25 namespace SendInput = extensions::api::terminal_private::SendInput; 25 namespace SendInput = extensions::api::terminal_private::SendInput;
26 26
27 namespace { 27 namespace {
28 28
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 base::Bind(&TerminalPrivateOnTerminalResizeFunction::RespondOnUIThread, 215 base::Bind(&TerminalPrivateOnTerminalResizeFunction::RespondOnUIThread,
216 this, success)); 216 this, success));
217 } 217 }
218 218
219 void TerminalPrivateOnTerminalResizeFunction::RespondOnUIThread(bool success) { 219 void TerminalPrivateOnTerminalResizeFunction::RespondOnUIThread(bool success) {
220 SetResult(new base::FundamentalValue(success)); 220 SetResult(new base::FundamentalValue(success));
221 SendResponse(true); 221 SendResponse(true);
222 } 222 }
223 223
224 } // namespace extensions 224 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tabs/windows_event_router.cc ('k') | chrome/browser/extensions/api/usb/usb_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698