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

Unified Diff: chrome/browser/pepper_flash_settings_manager.h

Issue 10387161: Pepper Flash settings integration: add UI for "deauthorize content licenses". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes in response to Scott's suggestions Created 8 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
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/pepper_flash_settings_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/pepper_flash_settings_manager.h
diff --git a/chrome/browser/pepper_flash_settings_manager.h b/chrome/browser/pepper_flash_settings_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..72900a8b814cad543e318e1b68273ed584fc5508
--- /dev/null
+++ b/chrome/browser/pepper_flash_settings_manager.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2012 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.
+
+#ifndef CHROME_BROWSER_PEPPER_FLASH_SETTINGS_MANAGER_H_
+#define CHROME_BROWSER_PEPPER_FLASH_SETTINGS_MANAGER_H_
+#pragma once
+
+class PluginPrefs;
+class PrefService;
+
+namespace webkit {
+struct WebPluginInfo;
+}
+
+// PepperFlashSettingsManager communicates with a PPAPI broker process to
+// read/write Pepper Flash settings.
+class PepperFlashSettingsManager {
+ public:
+ // |plugin_info| will be updated if it is not NULL and the method returns
+ // true.
+ static bool IsPepperFlashInUse(PluginPrefs* plugin_prefs,
+ webkit::WebPluginInfo* plugin_info);
+
+ static void RegisterUserPrefs(PrefService* prefs);
+};
sky 2012/05/21 22:39:17 private: DISALLOW_IMPLICIT_CONSTRUCTORS
yzshen1 2012/05/22 19:39:25 Done.
+
+#endif // CHROME_BROWSER_PEPPER_FLASH_SETTINGS_MANAGER_H_
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/pepper_flash_settings_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698