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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/website/StoragePreferenceActivity.java

Issue 1465363002: [Storage] Android - ManageSpace UI, Important Origins, and CBD Dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/java/src/org/chromium/chrome/browser/preferences/website/StoragePreferenceActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/StoragePreferenceActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/StoragePreferenceActivity.java
new file mode 100644
index 0000000000000000000000000000000000000000..a6ebd488fdfb3f8fd7f0694fea4d0a5037a63e7e
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/StoragePreferenceActivity.java
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.preferences.website;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+
+import org.chromium.chrome.R;
+import org.chromium.chrome.browser.preferences.Preferences;
+
+public class StoragePreferenceActivity extends Activity {
newt (away) 2015/11/25 15:56:25 javadoc. Explain what this class does, why it exis
dmurph 2015/11/25 23:47:46 Done.
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ Intent intent = new Intent(this, Preferences.class);
newt (away) 2015/11/25 15:56:25 use PreferencesLauncher.createIntentForSettingsPag
dmurph 2015/11/25 23:47:46 Done.
+ Bundle initialArguments = new Bundle();
+ initialArguments.putString(SingleCategoryPreferences.EXTRA_CATEGORY,
+ SiteSettingsCategory.CATEGORY_USE_STORAGE);
+ initialArguments.putString(SingleCategoryPreferences.EXTRA_TITLE,
+ getString(R.string.website_settings_storage));
+ intent.putExtra(Preferences.EXTRA_SHOW_FRAGMENT, SingleCategoryPreferences.class.getName());
+ intent.putExtra(Preferences.EXTRA_SHOW_FRAGMENT_ARGUMENTS, initialArguments);
+ startActivity(intent);
+ finish();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698