summaryrefslogtreecommitdiffstats
path: root/extensions/common/constants.cc
diff options
context:
space:
mode:
authorsammc <sammc@chromium.org>2015-01-22 17:21:54 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-23 01:23:21 +0000
commitc5eb526d0e15b28dbbbcaae87d82e022e413b20d (patch)
tree4712813291096e6b9d16f61dd691b01f6089bc41 /extensions/common/constants.cc
parent354304bc08fc693965750b27070e59bee364a922 (diff)
downloadchromium_src-c5eb526d0e15b28dbbbcaae87d82e022e413b20d.zip
chromium_src-c5eb526d0e15b28dbbbcaae87d82e022e413b20d.tar.gz
chromium_src-c5eb526d0e15b28dbbbcaae87d82e022e413b20d.tar.bz2
Add a mimeHandler extension API.
This adds the mimeHandler extension API, which is a simplified version of the streamsPrivateApi. Unlike the streamsPrivateApi, mimeHandler only allows access to streams from RenderFrames within MimeHandlerViewGuests, and in particular only allows access to the stream being handled by that MimeHandlerViewGuest instance. This removes the need for an event to be dispatched to the background page and a user-exposed view_id. BUG=439867 Review URL: https://codereview.chromium.org/797183005 Cr-Commit-Position: refs/heads/master@{#312728}
Diffstat (limited to 'extensions/common/constants.cc')
-rw-r--r--extensions/common/constants.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/common/constants.cc b/extensions/common/constants.cc
index c9fe31c..b6eac0f 100644
--- a/extensions/common/constants.cc
+++ b/extensions/common/constants.cc
@@ -84,4 +84,13 @@ COMPILE_ASSERT(kNumExtensionActionIconSizes ==
arraysize(kExtensionActionIconSizes),
num_action_icon_sizes_must_be_in_sync_with_action_icon_sizes);
+const char kPdfExtensionId[] = "mhjfbmdgcfjbbpaeojofohoefgiehjai";
+const char kQuickOfficeComponentExtensionId[] =
+ "bpmcpldpdmajfigpchkicefoigmkfalc";
+const char kQuickOfficeInternalExtensionId[] =
+ "ehibbfinohgbchlgdbfpikodjaojhccn";
+const char kQuickOfficeExtensionId[] = "gbkeegbaiigmenfmjfclcdgdpimamgkj";
+const char kMimeHandlerPrivateTestExtensionId[] =
+ "oickdpebdnfbgkcaoklfcdhjniefkcji";
+
} // namespace extension_misc