Commit a3bfad35 authored by Peter Kasting's avatar Peter Kasting Committed by Commit Bot

Remove unnecessary module that contained a single string used in one place.

BUG=none
TEST=none

Change-Id: I3cee01abf6159f9e632c4929538c13554e4c2dfb
Reviewed-on: https://chromium-review.googlesource.com/804147Reviewed-by: default avatarTommi <tommi@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521119}
parent 335cd11e
......@@ -631,8 +631,6 @@ split_static_library("browser") {
"media/media_engagement_session.h",
"media/media_storage_id_salt.cc",
"media/media_storage_id_salt.h",
"media/media_url_constants.cc",
"media/media_url_constants.h",
"media/midi_permission_context.cc",
"media/midi_permission_context.h",
"media/midi_sysex_permission_context.cc",
......
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media/media_url_constants.h"
const char kUploadURL[] = "https://clients2.google.com/cr/report";
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_MEDIA_MEDIA_URL_CONSTANTS_H_
#define CHROME_BROWSER_MEDIA_MEDIA_URL_CONSTANTS_H_
extern const char kUploadURL[];
#endif // CHROME_BROWSER_MEDIA_MEDIA_URL_CONSTANTS_H_
......@@ -18,7 +18,6 @@
#include "base/time/time.h"
#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/media/media_url_constants.h"
#include "chrome/browser/media/webrtc/webrtc_log_list.h"
#include "chrome/browser/media/webrtc/webrtc_log_util.h"
#include "chrome/common/partial_circular_buffer.h"
......@@ -472,6 +471,7 @@ void WebRtcLogUploader::UploadCompressedLog(
"Not implemented, it would be good to do so."
})");
constexpr char kUploadURL[] = "https://clients2.google.com/cr/report";
std::unique_ptr<net::URLFetcher> url_fetcher(net::URLFetcher::Create(
GURL(kUploadURL), net::URLFetcher::POST, this, traffic_annotation));
url_fetcher->SetUploadData(content_type, *post_data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment