b80f109524
If we do not do so, urls like "chrome-extension://extension-1" will never get a hostname.
29 lines
741 B
C++
29 lines
741 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.
|
|
|
|
#ifndef ATOM_APP_ATOM_CONTENT_CLIENT_H_
|
|
#define ATOM_APP_ATOM_CONTENT_CLIENT_H_
|
|
|
|
#include "brightray/common/content_client.h"
|
|
|
|
namespace atom {
|
|
|
|
class AtomContentClient : public brightray::ContentClient {
|
|
public:
|
|
AtomContentClient();
|
|
virtual ~AtomContentClient();
|
|
|
|
protected:
|
|
// content::ContentClient:
|
|
virtual void AddAdditionalSchemes(
|
|
std::vector<std::string>* standard_schemes,
|
|
std::vector<std::string>* savable_schemes) OVERRIDE;
|
|
|
|
private:
|
|
DISALLOW_COPY_AND_ASSIGN(AtomContentClient);
|
|
};
|
|
|
|
} // namespace atom
|
|
|
|
#endif // ATOM_APP_ATOM_CONTENT_CLIENT_H_
|