Index: chrome/common/child_process_host.h |
diff --git a/chrome/common/child_process_host.h b/chrome/common/child_process_host.h |
index 6e1725e919f8ce9e872dd5556a5dac6b12654957..a79eaf25ae2b3099ccb13dcdcd4e599a06a8f3ff 100644 |
--- a/chrome/common/child_process_host.h |
+++ b/chrome/common/child_process_host.h |
@@ -54,7 +54,7 @@ class ChildProcessHost : public ResourceDispatcherHost::Receiver, |
class Iterator { |
public: |
Iterator(); |
- Iterator(ProcessType type); |
+ explicit Iterator(ProcessType type); |
ChildProcessHost* operator->() { return *iterator_; } |
ChildProcessHost* operator*() { return *iterator_; } |
ChildProcessHost* operator++(); |
@@ -105,7 +105,7 @@ class ChildProcessHost : public ResourceDispatcherHost::Receiver, |
// calling the subclass' implementation. |
class ListenerHook : public IPC::Channel::Listener { |
public: |
- ListenerHook(ChildProcessHost* host); |
+ explicit ListenerHook(ChildProcessHost* host); |
virtual void OnMessageReceived(const IPC::Message& msg); |
virtual void OnChannelConnected(int32 peer_pid); |
virtual void OnChannelError(); |