summaryrefslogtreecommitdiffstats
path: root/apps/shell/shell_content_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apps/shell/shell_content_client.cc')
-rw-r--r--apps/shell/shell_content_client.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/shell/shell_content_client.cc b/apps/shell/shell_content_client.cc
index 9c45cc0..7ec4b0e 100644
--- a/apps/shell/shell_content_client.cc
+++ b/apps/shell/shell_content_client.cc
@@ -6,6 +6,7 @@
#include "base/strings/string_piece.h"
#include "base/strings/utf_string_conversions.h"
+#include "extensions/common/constants.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "webkit/common/user_agent/user_agent_util.h"
@@ -16,6 +17,15 @@ ShellContentClient::ShellContentClient() {}
ShellContentClient::~ShellContentClient() {}
+void ShellContentClient::AddAdditionalSchemes(
+ std::vector<std::string>* standard_schemes,
+ std::vector<std::string>* savable_schemes) {
+ standard_schemes->push_back(extensions::kExtensionScheme);
+ savable_schemes->push_back(extensions::kExtensionScheme);
+ standard_schemes->push_back(extensions::kExtensionResourceScheme);
+ savable_schemes->push_back(extensions::kExtensionResourceScheme);
+}
+
std::string ShellContentClient::GetUserAgent() const {
// TODO(derat): Figure out what this should be for app_shell and determine
// whether we need to include a version number to placate browser sniffing.