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

Unified Diff: remoting/host/setup/me2me_native_messaging_host.h

Issue 103053006: Renaming NativeMessagingHost to Me2MeNativeMessagingHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegage
Patch Set: Resolving merge conflict. Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/setup/me2me_native_messaging_host.h
diff --git a/remoting/host/setup/me2me_native_messaging_host.h b/remoting/host/setup/me2me_native_messaging_host.h
index 4c5d98a8b2cf9e981834401e99db06d55152f5c2..f45f806a895a8dfed7dcba5b1dbdf6a097835aaa 100644
--- a/remoting/host/setup/me2me_native_messaging_host.h
+++ b/remoting/host/setup/me2me_native_messaging_host.h
@@ -29,16 +29,16 @@ class PairingRegistry;
} // namespace protocol
// Implementation of the me2me native messaging host.
-class NativeMessagingHost {
+class Me2MeNativeMessagingHost {
public:
typedef NativeMessagingChannel::SendMessageCallback SendMessageCallback;
- NativeMessagingHost(
+ Me2MeNativeMessagingHost(
scoped_ptr<NativeMessagingChannel> channel,
scoped_refptr<DaemonController> daemon_controller,
scoped_refptr<protocol::PairingRegistry> pairing_registry,
scoped_ptr<OAuthClient> oauth_client);
- virtual ~NativeMessagingHost();
+ virtual ~Me2MeNativeMessagingHost();
void Start(const base::Closure& quit_closure);
@@ -124,15 +124,15 @@ class NativeMessagingHost {
base::ThreadChecker thread_checker_;
- base::WeakPtr<NativeMessagingHost> weak_ptr_;
- base::WeakPtrFactory<NativeMessagingHost> weak_factory_;
+ base::WeakPtr<Me2MeNativeMessagingHost> weak_ptr_;
+ base::WeakPtrFactory<Me2MeNativeMessagingHost> weak_factory_;
- DISALLOW_COPY_AND_ASSIGN(NativeMessagingHost);
+ DISALLOW_COPY_AND_ASSIGN(Me2MeNativeMessagingHost);
};
-// Creates a NativeMessagingHost instance, attaches it to stdin/stdout and runs
-// the message loop until NativeMessagingHost signals shutdown.
-int NativeMessagingHostMain();
+// Creates a Me2MeNativeMessagingHost instance, attaches it to stdin/stdout and
+// runs the message loop until Me2MeNativeMessagingHost signals shutdown.
+int Me2MeNativeMessagingHostMain();
} // namespace remoting
« no previous file with comments | « remoting/host/it2me/it2me_native_messaging_host_unittest.cc ('k') | remoting/host/setup/me2me_native_messaging_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698