b6b6fc3bfd
Closes #762
30 lines
679 B
C++
30 lines
679 B
C++
// Copyright (c) 2014 GitHub, Inc.
|
|
// 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"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "atom/common/chrome_version.h"
|
|
|
|
namespace atom {
|
|
|
|
AtomContentClient::AtomContentClient() {
|
|
}
|
|
|
|
AtomContentClient::~AtomContentClient() {
|
|
}
|
|
|
|
std::string AtomContentClient::GetProduct() const {
|
|
return "Chrome/" CHROME_VERSION_STRING;
|
|
}
|
|
|
|
void AtomContentClient::AddAdditionalSchemes(
|
|
std::vector<std::string>* standard_schemes,
|
|
std::vector<std::string>* savable_schemes) {
|
|
standard_schemes->push_back("chrome-extension");
|
|
}
|
|
|
|
} // namespace atom
|