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

Side by Side Diff: ppapi/proxy/host_dispatcher.h

Issue 713643002: Revert "Adding GCM support to the copresence component. The Copresence server can push directives (… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2214
Patch Set: Created 6 years, 1 month 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 | « google_apis/gcm/engine/gcm_store_impl.cc ('k') | ppapi/proxy/host_dispatcher.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) 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 PPAPI_PROXY_HOST_DISPATCHER_H_ 5 #ifndef PPAPI_PROXY_HOST_DISPATCHER_H_
6 #define PPAPI_PROXY_HOST_DISPATCHER_H_ 6 #define PPAPI_PROXY_HOST_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 protected: 116 protected:
117 // Overridden from Dispatcher. 117 // Overridden from Dispatcher.
118 virtual void OnInvalidMessageReceived(); 118 virtual void OnInvalidMessageReceived();
119 119
120 private: 120 private:
121 void OnHostMsgLogWithSource(PP_Instance instance, 121 void OnHostMsgLogWithSource(PP_Instance instance,
122 int int_log_level, 122 int int_log_level,
123 const std::string& source, 123 const std::string& source,
124 const std::string& value); 124 const std::string& value);
125 void OnHostMsgPluginSupportsInterface(const std::string& interface_name);
126 125
127 void RemoveSyncMessageStatusObserver(SyncMessageStatusObserver* obs); 126 void RemoveSyncMessageStatusObserver(SyncMessageStatusObserver* obs);
128 127
129 PP_Module pp_module_; 128 PP_Module pp_module_;
130 129
131 // Maps interface name to whether that interface is supported. If an interface 130 // Maps interface name to whether that interface is supported. If an interface
132 // name is not in the map, that implies that we haven't queried for it yet. 131 // name is not in the map, that implies that we haven't queried for it yet.
133 typedef base::hash_map<std::string, bool> PluginSupportedMap; 132 typedef base::hash_map<std::string, bool> PluginSupportedMap;
134 PluginSupportedMap plugin_supported_; 133 PluginSupportedMap plugin_supported_;
135 134
(...skipping 29 matching lines...) Expand all
165 private: 164 private:
166 HostDispatcher* dispatcher_; 165 HostDispatcher* dispatcher_;
167 166
168 DISALLOW_COPY_AND_ASSIGN(ScopedModuleReference); 167 DISALLOW_COPY_AND_ASSIGN(ScopedModuleReference);
169 }; 168 };
170 169
171 } // namespace proxy 170 } // namespace proxy
172 } // namespace ppapi 171 } // namespace ppapi
173 172
174 #endif // PPAPI_PROXY_HOST_DISPATCHER_H_ 173 #endif // PPAPI_PROXY_HOST_DISPATCHER_H_
OLDNEW
« no previous file with comments | « google_apis/gcm/engine/gcm_store_impl.cc ('k') | ppapi/proxy/host_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698