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

Side by Side Diff: android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java

Issue 2515353005: [Android WebView] Implement copying and uploading of Minidumps. (Closed)
Patch Set: Fix findbugs errors for realz! Created 4 years 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 | « android_webview/apk/java/AndroidManifest.xml ('k') | android_webview/java/DEPS » ('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 package com.android.webview.chromium; 5 package com.android.webview.chromium;
6 6
7 import android.Manifest; 7 import android.Manifest;
8 import android.app.ActivityManager; 8 import android.app.ActivityManager;
9 import android.content.ComponentCallbacks2; 9 import android.content.ComponentCallbacks2;
10 import android.content.Context; 10 import android.content.Context;
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 396
397 // Make sure that ResourceProvider is initialized before starting the br owser process. 397 // Make sure that ResourceProvider is initialized before starting the br owser process.
398 final String webViewPackageName = WebViewFactory.getLoadedPackageInfo(). packageName; 398 final String webViewPackageName = WebViewFactory.getLoadedPackageInfo(). packageName;
399 Context context = ContextUtils.getApplicationContext(); 399 Context context = ContextUtils.getApplicationContext();
400 setUpResources(webViewPackageName, context); 400 setUpResources(webViewPackageName, context);
401 initPlatSupportLibrary(); 401 initPlatSupportLibrary();
402 initNetworkChangeNotifier(context); 402 initNetworkChangeNotifier(context);
403 final boolean isExternalService = true; 403 final boolean isExternalService = true;
404 AwBrowserProcess.configureChildProcessLauncher(webViewPackageName, isExt ernalService); 404 AwBrowserProcess.configureChildProcessLauncher(webViewPackageName, isExt ernalService);
405 AwBrowserProcess.start(); 405 AwBrowserProcess.start();
406 AwBrowserProcess.handleMinidumps(webViewPackageName);
406 407
407 if (isBuildDebuggable()) { 408 if (isBuildDebuggable()) {
408 setWebContentsDebuggingEnabled(true); 409 setWebContentsDebuggingEnabled(true);
409 } 410 }
410 411
411 TraceEvent.setATraceEnabled(mWebViewDelegate.isTraceTagEnabled()); 412 TraceEvent.setATraceEnabled(mWebViewDelegate.isTraceTagEnabled());
412 mWebViewDelegate.setOnTraceEnabledChangeListener( 413 mWebViewDelegate.setOnTraceEnabledChangeListener(
413 new WebViewDelegate.OnTraceEnabledChangeListener() { 414 new WebViewDelegate.OnTraceEnabledChangeListener() {
414 @Override 415 @Override
415 public void onTraceEnabledChange(boolean enabled) { 416 public void onTraceEnabledChange(boolean enabled) {
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 this, HttpAuthDatabase.newInstance(context, HTTP_AUTH_DA TABASE_FILE)); 652 this, HttpAuthDatabase.newInstance(context, HTTP_AUTH_DA TABASE_FILE));
652 } 653 }
653 } 654 }
654 return mWebViewDatabase; 655 return mWebViewDatabase;
655 } 656 }
656 657
657 WebViewDelegate getWebViewDelegate() { 658 WebViewDelegate getWebViewDelegate() {
658 return mWebViewDelegate; 659 return mWebViewDelegate;
659 } 660 }
660 } 661 }
OLDNEW
« no previous file with comments | « android_webview/apk/java/AndroidManifest.xml ('k') | android_webview/java/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698