OLD | NEW |
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 "chromecast/browser/cast_content_browser_client.h" | 5 #include "chromecast/browser/cast_content_browser_client.h" |
6 | 6 |
| 7 #include <string> |
| 8 |
| 9 #include "base/base_switches.h" |
7 #include "base/command_line.h" | 10 #include "base/command_line.h" |
8 #include "base/files/scoped_file.h" | 11 #include "base/files/scoped_file.h" |
9 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
10 #include "base/path_service.h" | 13 #include "base/path_service.h" |
11 #include "chromecast/browser/cast_browser_context.h" | 14 #include "chromecast/browser/cast_browser_context.h" |
12 #include "chromecast/browser/cast_browser_main_parts.h" | 15 #include "chromecast/browser/cast_browser_main_parts.h" |
13 #include "chromecast/browser/cast_browser_process.h" | 16 #include "chromecast/browser/cast_browser_process.h" |
14 #include "chromecast/browser/cast_network_delegate.h" | 17 #include "chromecast/browser/cast_network_delegate.h" |
15 #include "chromecast/browser/devtools/cast_dev_tools_delegate.h" | 18 #include "chromecast/browser/devtools/cast_dev_tools_delegate.h" |
16 #include "chromecast/browser/geolocation/cast_access_token_store.h" | 19 #include "chromecast/browser/geolocation/cast_access_token_store.h" |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 process_type, dumps_path, false /* upload */); | 336 process_type, dumps_path, false /* upload */); |
334 // StartUploaderThread() even though upload is diferred. | 337 // StartUploaderThread() even though upload is diferred. |
335 // Breakpad-related memory is freed in the uploader thread. | 338 // Breakpad-related memory is freed in the uploader thread. |
336 crash_handler->StartUploaderThread(); | 339 crash_handler->StartUploaderThread(); |
337 return crash_handler; | 340 return crash_handler; |
338 } | 341 } |
339 #endif // !defined(OS_ANDROID) | 342 #endif // !defined(OS_ANDROID) |
340 | 343 |
341 } // namespace shell | 344 } // namespace shell |
342 } // namespace chromecast | 345 } // namespace chromecast |
OLD | NEW |