925ff2da5b
This is used to cheat client web drivers.
30 lines
700 B
C++
30 lines
700 B
C++
// Copyright (c) 2014 GitHub, Inc. All rights reserved.
|
|
// 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
|