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

Side by Side Diff: chrome/renderer/chrome_mock_render_thread.h

Issue 2300453002: [Extensions] Begin making Extension port initialization asynchronous (Closed)
Patch Set: Nasko's Created 4 years, 3 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
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | chrome/renderer/chrome_mock_render_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_ 5 #ifndef CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_
6 #define CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_ 6 #define CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 20 matching lines...) Expand all
31 // Overrides base class implementation to add custom handling for 31 // Overrides base class implementation to add custom handling for
32 // print and extensions. 32 // print and extensions.
33 bool OnMessageReceived(const IPC::Message& msg) override; 33 bool OnMessageReceived(const IPC::Message& msg) override;
34 34
35 #if defined(ENABLE_EXTENSIONS) 35 #if defined(ENABLE_EXTENSIONS)
36 // The callee expects to be returned a valid channel_id. 36 // The callee expects to be returned a valid channel_id.
37 void OnOpenChannelToExtension(int routing_id, 37 void OnOpenChannelToExtension(int routing_id,
38 const ExtensionMsg_ExternalConnectionInfo& info, 38 const ExtensionMsg_ExternalConnectionInfo& info,
39 const std::string& channel_name, 39 const std::string& channel_name,
40 bool include_tls_channel_id, 40 bool include_tls_channel_id,
41 int* port_id); 41 int request_id);
42 #endif 42 #endif
43 43
44 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; 44 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(ChromeMockRenderThread); 46 DISALLOW_COPY_AND_ASSIGN(ChromeMockRenderThread);
47 }; 47 };
48 48
49 #endif // CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_ 49 #endif // CHROME_RENDERER_CHROME_MOCK_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | chrome/renderer/chrome_mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698