Add wayback query url to url_constatns.h

This commit is contained in:
Simon Hong
2019-12-19 05:53:18 +09:00
parent 24a7389e7c
commit 45d091084e
3 changed files with 3 additions and 2 deletions
@@ -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() {
+1
View File
@@ -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=";
+1
View File
@@ -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"