Add wayback query url to url_constatns.h
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "base/bind.h"
|
||||
#include "base/json/json_reader.h"
|
||||
#include "brave/common/url_constants.h"
|
||||
#include "net/traffic_annotation/network_traffic_annotation.h"
|
||||
#include "services/network/public/cpp/resource_request.h"
|
||||
#include "services/network/public/cpp/shared_url_loader_factory.h"
|
||||
@@ -17,8 +18,6 @@
|
||||
|
||||
namespace {
|
||||
|
||||
constexpr char kWaybackQueryURL[] =
|
||||
"https://archive.org/wayback/available?url=";
|
||||
constexpr int kMaxBodySize = 1024 * 1024;
|
||||
|
||||
const net::NetworkTrafficAnnotationTag& GetNetworkTrafficAnnotationTag() {
|
||||
|
||||
@@ -15,3 +15,4 @@ const char kWidevineTOS[] = "https://policies.google.com/terms";
|
||||
const char kRewardsUpholdSupport[] = "https://uphold.com/en/brave/support";
|
||||
const char kP3ALearnMoreURL[] = "https://brave.com/P3A";
|
||||
const char kP3ASettingsLink[] = "chrome://settings/privacy";
|
||||
const char kWaybackQueryURL[] = "https://archive.org/wayback/available?url=";
|
||||
|
||||
@@ -16,6 +16,7 @@ extern const char kWidevineTOS[];
|
||||
extern const char kRewardsUpholdSupport[];
|
||||
extern const char kP3ALearnMoreURL[];
|
||||
extern const char kP3ASettingsLink[];
|
||||
extern const char kWaybackQueryURL[];
|
||||
|
||||
// This is introduced to replace |kDownloadChromeUrl| in
|
||||
// outdated_upgrade_bubble_view.cc"
|
||||
|
||||
Reference in New Issue
Block a user