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

Unified Diff: extensions/common/manifest_handlers/mime_types_handler.cc

Issue 797183005: Add a mimeHandler extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@streams-lifetime
Patch Set: rebase Created 5 years, 11 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
« no previous file with comments | « extensions/common/manifest_handlers/mime_types_handler.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handlers/mime_types_handler.cc
diff --git a/chrome/common/extensions/manifest_handlers/mime_types_handler.cc b/extensions/common/manifest_handlers/mime_types_handler.cc
similarity index 94%
rename from chrome/common/extensions/manifest_handlers/mime_types_handler.cc
rename to extensions/common/manifest_handlers/mime_types_handler.cc
index dd25d89f8f5c2f16ace4b9d4a1c97c681d9c4302..7c4f034f430a8d894b7f2e1a540f6ed143658328 100644
--- a/chrome/common/extensions/manifest_handlers/mime_types_handler.cc
+++ b/extensions/common/manifest_handlers/mime_types_handler.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/extensions/manifest_handlers/mime_types_handler.h"
+#include "extensions/common/manifest_handlers/mime_types_handler.h"
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
-#include "chrome/common/extensions/extension_constants.h"
+#include "extensions/common/constants.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"
@@ -23,7 +23,7 @@ const char* const kMIMETypeHandlersWhitelist[] = {
extension_misc::kQuickOfficeComponentExtensionId,
extension_misc::kQuickOfficeInternalExtensionId,
extension_misc::kQuickOfficeExtensionId,
- extension_misc::kStreamsPrivateTestExtensionId};
+ extension_misc::kMimeHandlerPrivateTestExtensionId};
// Stored on the Extension.
struct MimeTypesHandlerInfo : public extensions::Extension::ManifestData {
« no previous file with comments | « extensions/common/manifest_handlers/mime_types_handler.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698