Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (28 sloc) 1.102 kb
// Copyright (c) 2012 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/crash_upload_list.h"
#include "base/files/file_path.h"
#include "base/path_service.h"
#include "chrome/common/chrome_paths.h"
#if defined(OS_WIN)
#include "chrome/browser/crash_upload_list_win.h"
// static
const char* CrashUploadList::kReporterLogFilename = "uploads.log";
// static
CrashUploadList* CrashUploadList::Create(Delegate* delegate) {
base::FilePath crash_dir_path;
PathService::Get(chrome::DIR_CRASH_DUMPS, &crash_dir_path);
base::FilePath upload_log_path =
#if defined(OS_WIN)
return new CrashUploadListWin(delegate, upload_log_path);
return new CrashUploadList(delegate, upload_log_path);
CrashUploadList::CrashUploadList(Delegate* delegate,
const base::FilePath& upload_log_path)
: UploadList(delegate, upload_log_path) {}
CrashUploadList::~CrashUploadList() {}
Jump to Line
Something went wrong with that request. Please try again.