2014-10-31 18:17:05 +00:00
|
|
|
// Copyright (c) 2014 GitHub, Inc.
|
2014-08-27 12:48:49 +00:00
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#include "atom/app/atom_content_client.h"
|
|
|
|
|
2014-08-27 13:16:45 +00:00
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
2014-09-12 15:28:14 +00:00
|
|
|
#include "atom/common/chrome_version.h"
|
|
|
|
|
2014-08-27 12:48:49 +00:00
|
|
|
namespace atom {
|
|
|
|
|
|
|
|
AtomContentClient::AtomContentClient() {
|
|
|
|
}
|
|
|
|
|
|
|
|
AtomContentClient::~AtomContentClient() {
|
|
|
|
}
|
|
|
|
|
2014-09-12 15:28:14 +00:00
|
|
|
std::string AtomContentClient::GetProduct() const {
|
|
|
|
return "Chrome/" CHROME_VERSION_STRING;
|
|
|
|
}
|
|
|
|
|
2014-08-27 12:48:49 +00:00
|
|
|
void AtomContentClient::AddAdditionalSchemes(
|
|
|
|
std::vector<std::string>* standard_schemes,
|
|
|
|
std::vector<std::string>* savable_schemes) {
|
|
|
|
standard_schemes->push_back("chrome-extension");
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace atom
|