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

Side by Side Diff: chrome/browser/extensions/api/messaging/extension_message_port.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 #ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_EXTENSION_MESSAGE_PORT_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_EXTENSION_MESSAGE_PORT_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_EXTENSION_MESSAGE_PORT_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_EXTENSION_MESSAGE_PORT_H_
7 7
8 #include "chrome/browser/extensions/api/messaging/message_service.h" 8 #include "chrome/browser/extensions/api/messaging/message_service.h"
9 9
10 class GURL; 10 class GURL;
(...skipping 10 matching lines...) Expand all
21 ExtensionMessagePort(content::RenderProcessHost* process, 21 ExtensionMessagePort(content::RenderProcessHost* process,
22 int routing_id, 22 int routing_id,
23 const std::string& extension_id); 23 const std::string& extension_id);
24 virtual void DispatchOnConnect( 24 virtual void DispatchOnConnect(
25 int dest_port_id, 25 int dest_port_id,
26 const std::string& channel_name, 26 const std::string& channel_name,
27 const base::DictionaryValue& source_tab, 27 const base::DictionaryValue& source_tab,
28 const std::string& source_extension_id, 28 const std::string& source_extension_id,
29 const std::string& target_extension_id, 29 const std::string& target_extension_id,
30 const GURL& source_url, 30 const GURL& source_url,
31 const std::string& tls_channel_id) OVERRIDE; 31 const std::string& tls_channel_id) override;
32 virtual void DispatchOnDisconnect(int source_port_id, 32 virtual void DispatchOnDisconnect(int source_port_id,
33 const std::string& error_message) OVERRIDE; 33 const std::string& error_message) override;
34 virtual void DispatchOnMessage(const Message& message, 34 virtual void DispatchOnMessage(const Message& message,
35 int target_port_id) OVERRIDE; 35 int target_port_id) override;
36 virtual void IncrementLazyKeepaliveCount() OVERRIDE; 36 virtual void IncrementLazyKeepaliveCount() override;
37 virtual void DecrementLazyKeepaliveCount() OVERRIDE; 37 virtual void DecrementLazyKeepaliveCount() override;
38 virtual content::RenderProcessHost* GetRenderProcessHost() OVERRIDE; 38 virtual content::RenderProcessHost* GetRenderProcessHost() override;
39 39
40 private: 40 private:
41 content::RenderProcessHost* process_; 41 content::RenderProcessHost* process_;
42 int routing_id_; 42 int routing_id_;
43 std::string extension_id_; 43 std::string extension_id_;
44 void* background_host_ptr_; // used in IncrementLazyKeepaliveCount 44 void* background_host_ptr_; // used in IncrementLazyKeepaliveCount
45 }; 45 };
46 46
47 } // namespace extensions 47 } // namespace extensions
48 48
49 #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_EXTENSION_MESSAGE_PORT_H_ 49 #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_EXTENSION_MESSAGE_PORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698