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

Unified Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java

Issue 286353002: Move ClearBrowsingData from the ToolbarModel to the application (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove OpenClearBrowsingData declaration from tab model test. Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java
index fe48d05534d29d5cca757db88635138a9e49567e..fba2f20472ca58fd13dc285f36f4ac2ddddbaa54 100644
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java
@@ -5,11 +5,13 @@
package org.chromium.chrome.shell;
import android.content.Intent;
+import android.util.Log;
import org.chromium.base.CommandLine;
import org.chromium.base.PathUtils;
import org.chromium.chrome.browser.ChromiumApplication;
import org.chromium.chrome.browser.PKCS11AuthenticationManager;
+import org.chromium.chrome.browser.Tab;
import org.chromium.chrome.browser.UmaUtils;
import org.chromium.chrome.browser.invalidation.UniqueIdInvalidationClientNameGenerator;
import org.chromium.content.browser.ResourceExtractor;
@@ -21,6 +23,8 @@ import java.util.ArrayList;
* loading the right resources.
*/
public class ChromeShellApplication extends ChromiumApplication {
+ private static final String TAG = "ChromeShellApplication";
+
private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "chromeshell";
/**
* icudtl.dat provides ICU (i18n library) with all the necessary data
@@ -90,6 +94,11 @@ public class ChromeShellApplication extends ChromiumApplication {
}
@Override
+ protected void openClearBrowsingData(Tab tab) {
+ Log.e(TAG, "Clear browsing data not currently supported in Chrome Shell");
+ }
+
+ @Override
protected boolean areParentalControlsEnabled() {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698