Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: shell/crash/crash_upload.h

Issue 1404443004: Move //mojo/services/network/public/interfaces to //mojo/services/network/interfaces. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add some missing dependencies Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « shell/crash/BUILD.gn ('k') | shell/crash/crash_upload.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SHELL_CRASH_CRASH_UPLOAD_H_ 5 #ifndef SHELL_CRASH_CRASH_UPLOAD_H_
6 #define SHELL_CRASH_CRASH_UPLOAD_H_ 6 #define SHELL_CRASH_CRASH_UPLOAD_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/task_runner.h" 10 #include "base/task_runner.h"
11 #include "mojo/services/network/public/interfaces/network_service.mojom.h" 11 #include "mojo/services/network/interfaces/network_service.mojom.h"
12 12
13 namespace breakpad { 13 namespace breakpad {
14 14
15 // Upload a crash from dump_paths if more than one hour has passed since the 15 // Upload a crash from dump_paths if more than one hour has passed since the
16 // last crash has been uploaded and clean up dumps_path. 16 // last crash has been uploaded and clean up dumps_path.
17 void UploadCrashes(const base::FilePath& dumps_path, 17 void UploadCrashes(const base::FilePath& dumps_path,
18 scoped_refptr<base::TaskRunner> file_task_runner, 18 scoped_refptr<base::TaskRunner> file_task_runner,
19 mojo::NetworkServicePtr network_service); 19 mojo::NetworkServicePtr network_service);
20 20
21 } // namespace breakpad 21 } // namespace breakpad
22 22
23 #endif // SHELL_CRASH_CRASH_UPLOAD_H_ 23 #endif // SHELL_CRASH_CRASH_UPLOAD_H_
OLDNEW
« no previous file with comments | « shell/crash/BUILD.gn ('k') | shell/crash/crash_upload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698