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

Unified Diff: chrome/browser/extensions/api/messaging/message_service.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/messaging/message_service.cc
diff --git a/chrome/browser/extensions/api/messaging/message_service.cc b/chrome/browser/extensions/api/messaging/message_service.cc
index 8f336f2f46cc0177ec0a8600d0d6077322e642f8..d866a5f03a4fd96c5f1726de730f417764cf39b8 100644
--- a/chrome/browser/extensions/api/messaging/message_service.cc
+++ b/chrome/browser/extensions/api/messaging/message_service.cc
@@ -330,10 +330,10 @@ void MessageService::OpenChannelToExtension(
if (include_tls_channel_id) {
pending_tls_channel_id_channels_[GET_CHANNEL_ID(params->receiver_port_id)]
= PendingMessagesQueue();
- property_provider_.GetDomainBoundCert(
+ property_provider_.GetChannelID(
Profile::FromBrowserContext(context),
source_url,
- base::Bind(&MessageService::GotDomainBoundCert,
+ base::Bind(&MessageService::GotChannelID,
weak_factory_.GetWeakPtr(),
base::Passed(make_scoped_ptr(params))));
return;
@@ -693,8 +693,8 @@ bool MessageService::MaybeAddPendingLazyBackgroundPageOpenChannelTask(
return true;
}
-void MessageService::GotDomainBoundCert(scoped_ptr<OpenChannelParams> params,
- const std::string& tls_channel_id) {
+void MessageService::GotChannelID(scoped_ptr<OpenChannelParams> params,
+ const std::string& tls_channel_id) {
params->tls_channel_id.assign(tls_channel_id);
int channel_id = GET_CHANNEL_ID(params->receiver_port_id);

Powered by Google App Engine
This is Rietveld 408576698