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

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

Issue 356713005: Rename ServerBoundCert => ChannelID to reflect the current name (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix cookies_list.js Created 6 years, 5 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 | Annotate | Revision Log
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_MESSAGE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_MESSAGE_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_MESSAGE_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_MESSAGE_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 void AddChannel(MessageChannel* channel, int receiver_port_id); 193 void AddChannel(MessageChannel* channel, int receiver_port_id);
194 194
195 // content::NotificationObserver interface. 195 // content::NotificationObserver interface.
196 virtual void Observe(int type, 196 virtual void Observe(int type,
197 const content::NotificationSource& source, 197 const content::NotificationSource& source,
198 const content::NotificationDetails& details) OVERRIDE; 198 const content::NotificationDetails& details) OVERRIDE;
199 199
200 // A process that might be in our list of channels has closed. 200 // A process that might be in our list of channels has closed.
201 void OnProcessClosed(content::RenderProcessHost* process); 201 void OnProcessClosed(content::RenderProcessHost* process);
202 202
203 void GotDomainBoundCert(scoped_ptr<OpenChannelParams> params, 203 void GotChannelID(scoped_ptr<OpenChannelParams> params,
204 const std::string& tls_channel_id); 204 const std::string& tls_channel_id);
205 205
206 // Enqueues a message on a pending channel. 206 // Enqueues a message on a pending channel.
207 void EnqueuePendingMessage(int port_id, int channel_id, 207 void EnqueuePendingMessage(int port_id, int channel_id,
208 const Message& message); 208 const Message& message);
209 209
210 // Enqueues a message on a channel pending on a lazy background page load. 210 // Enqueues a message on a channel pending on a lazy background page load.
211 void EnqueuePendingMessageForLazyBackgroundLoad(int port_id, 211 void EnqueuePendingMessageForLazyBackgroundLoad(int port_id,
212 int channel_id, 212 int channel_id,
213 const Message& message); 213 const Message& message);
214 214
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 LazyBackgroundTaskQueue* lazy_background_task_queue_; 268 LazyBackgroundTaskQueue* lazy_background_task_queue_;
269 269
270 base::WeakPtrFactory<MessageService> weak_factory_; 270 base::WeakPtrFactory<MessageService> weak_factory_;
271 271
272 DISALLOW_COPY_AND_ASSIGN(MessageService); 272 DISALLOW_COPY_AND_ASSIGN(MessageService);
273 }; 273 };
274 274
275 } // namespace extensions 275 } // namespace extensions
276 276
277 #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_MESSAGE_SERVICE_H_ 277 #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_MESSAGE_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698