OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/feedback/feedback_util.h" | 5 #include "chrome/browser/feedback/feedback_util.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "chrome/browser/ui/browser_finder.h" | 30 #include "chrome/browser/ui/browser_finder.h" |
31 #include "chrome/browser/ui/browser_list.h" | 31 #include "chrome/browser/ui/browser_list.h" |
32 #include "chrome/browser/ui/browser_window.h" | 32 #include "chrome/browser/ui/browser_window.h" |
33 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 33 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
34 #include "chrome/common/chrome_content_client.h" | 34 #include "chrome/common/chrome_content_client.h" |
35 #include "chrome/common/chrome_switches.h" | 35 #include "chrome/common/chrome_switches.h" |
36 #include "chrome/common/chrome_version_info.h" | 36 #include "chrome/common/chrome_version_info.h" |
37 #include "chrome/common/metrics/metrics_log_manager.h" | 37 #include "chrome/common/metrics/metrics_log_manager.h" |
38 #include "content/public/browser/navigation_controller.h" | 38 #include "content/public/browser/navigation_controller.h" |
39 #include "content/public/browser/web_contents.h" | 39 #include "content/public/browser/web_contents.h" |
40 #include "content/public/common/content_client.h" | |
41 #include "grit/generated_resources.h" | 40 #include "grit/generated_resources.h" |
42 #include "grit/locale_settings.h" | 41 #include "grit/locale_settings.h" |
43 #include "grit/theme_resources.h" | 42 #include "grit/theme_resources.h" |
44 #include "net/base/load_flags.h" | 43 #include "net/base/load_flags.h" |
45 #include "net/http/http_request_headers.h" | 44 #include "net/http/http_request_headers.h" |
46 #include "net/url_request/url_fetcher.h" | 45 #include "net/url_request/url_fetcher.h" |
47 #include "net/url_request/url_fetcher_delegate.h" | 46 #include "net/url_request/url_fetcher_delegate.h" |
48 #include "net/url_request/url_request_status.h" | 47 #include "net/url_request/url_request_status.h" |
49 #include "third_party/icu/source/common/unicode/locid.h" | 48 #include "third_party/icu/source/common/unicode/locid.h" |
50 #include "third_party/zlib/google/zip.h" | 49 #include "third_party/zlib/google/zip.h" |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 zip::Zip(temp_path, zip_file, false) && | 262 zip::Zip(temp_path, zip_file, false) && |
264 base::ReadFileToString(zip_file, compressed_logs); | 263 base::ReadFileToString(zip_file, compressed_logs); |
265 | 264 |
266 base::DeleteFile(temp_path, true); | 265 base::DeleteFile(temp_path, true); |
267 base::DeleteFile(zip_file, false); | 266 base::DeleteFile(zip_file, false); |
268 | 267 |
269 return succeed; | 268 return succeed; |
270 } | 269 } |
271 | 270 |
272 } // namespace feedback_util | 271 } // namespace feedback_util |
OLD | NEW |