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

Side by Side Diff: components/feedback/feedback_util.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « components/feedback/feedback_util.h ('k') | components/feedback/tracing_manager.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/feedback/feedback_util.h" 5 #include "components/feedback/feedback_util.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "build/build_config.h"
11 #include "components/feedback/feedback_data.h" 12 #include "components/feedback/feedback_data.h"
12 #include "components/feedback/feedback_uploader.h" 13 #include "components/feedback/feedback_uploader.h"
13 #include "components/feedback/feedback_uploader_factory.h" 14 #include "components/feedback/feedback_uploader_factory.h"
14 #include "components/feedback/proto/common.pb.h" 15 #include "components/feedback/proto/common.pb.h"
15 #include "components/feedback/proto/dom.pb.h" 16 #include "components/feedback/proto/dom.pb.h"
16 #include "components/feedback/proto/extension.pb.h" 17 #include "components/feedback/proto/extension.pb.h"
17 #include "components/feedback/proto/math.pb.h" 18 #include "components/feedback/proto/math.pb.h"
18 #include "third_party/zlib/google/zip.h" 19 #include "third_party/zlib/google/zip.h"
19 20
20 using feedback::FeedbackData; 21 using feedback::FeedbackData;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 zip::Zip(temp_path, zip_file, false) && 91 zip::Zip(temp_path, zip_file, false) &&
91 base::ReadFileToString(zip_file, compressed_logs); 92 base::ReadFileToString(zip_file, compressed_logs);
92 93
93 base::DeleteFile(temp_path, true); 94 base::DeleteFile(temp_path, true);
94 base::DeleteFile(zip_file, false); 95 base::DeleteFile(zip_file, false);
95 96
96 return succeed; 97 return succeed;
97 } 98 }
98 99
99 } // namespace feedback_util 100 } // namespace feedback_util
OLDNEW
« no previous file with comments | « components/feedback/feedback_util.h ('k') | components/feedback/tracing_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698