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

Unified Diff: content/public/common/key_system_info.cc

Issue 23678008: Refactor KeySystems code to call a function to populate the info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: scherkus review updates Created 7 years, 3 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: content/public/common/key_system_info.cc
diff --git a/content/public/browser/javascript_dialog_manager.cc b/content/public/common/key_system_info.cc
similarity index 50%
copy from content/public/browser/javascript_dialog_manager.cc
copy to content/public/common/key_system_info.cc
index 0a58d9ffb3817aaa9045086bd13d92a9a4af4148..2a6b784abee6405410aaad6df65e34dd1bf45462 100644
--- a/content/public/browser/javascript_dialog_manager.cc
+++ b/content/public/common/key_system_info.cc
@@ -2,15 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/public/browser/javascript_dialog_manager.h"
+#include "content/public/common/key_system_info.h"
namespace content {
-bool JavaScriptDialogManager::HandleJavaScriptDialog(
- WebContents* web_contents,
- bool accept,
- const string16* prompt_override) {
- return false;
+KeySystemInfo::KeySystemInfo(const std::string& key_system)
jam 2013/09/03 20:50:52 nit: if you can inline this constructor in the hea
ddorwin 2013/09/04 00:41:55 Clang is unhappy: ../../content/public/renderer/k
+ : key_system(key_system),
+ use_aes_decryptor(false) {
+}
+
+KeySystemInfo::~KeySystemInfo() {
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698