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

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

Issue 2494113003: Do not typedef ExtensionId/ID, since it's already available in extension_id.h (Closed)
Patch Set: fix includes from comments Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/messaging/message_service.h
diff --git a/chrome/browser/extensions/api/messaging/message_service.h b/chrome/browser/extensions/api/messaging/message_service.h
index 2c6b52d0b2482cf6c6c1ac675bb4c45bcf0c1863..667594eb6cfcaeec2106b9880d4b76f5e65f30b8 100644
--- a/chrome/browser/extensions/api/messaging/message_service.h
+++ b/chrome/browser/extensions/api/messaging/message_service.h
@@ -19,6 +19,7 @@
#include "extensions/browser/api/messaging/native_message_host.h"
#include "extensions/browser/browser_context_keyed_api_factory.h"
#include "extensions/common/api/messaging/message.h"
+#include "extensions/common/extension_id.h"
class GURL;
class Profile;
@@ -195,9 +196,8 @@ class MessageService : public BrowserContextKeyedAPI {
// A map of channel ID to information about the extension that is waiting
// for that channel to open. Used for lazy background pages.
- using ExtensionID = std::string;
using PendingLazyBackgroundPageChannel =
- std::pair<content::BrowserContext*, ExtensionID>;
+ std::pair<content::BrowserContext*, ExtensionId>;
using PendingLazyBackgroundPageChannelMap =
std::map<int, PendingLazyBackgroundPageChannel>;
« no previous file with comments | « chrome/browser/extensions/api/image_writer_private/operation_manager.h ('k') | extensions/browser/api/alarms/alarm_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698