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

Unified Diff: chrome/installer/util/html_dialog.h

Issue 7309008: Change the system-level EULA dialog to not use GET parameters with res:// urls. Instead use the d... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/installer/setup/setup_main.cc ('k') | chrome/installer/util/html_dialog_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/html_dialog.h
===================================================================
--- chrome/installer/util/html_dialog.h (revision 91469)
+++ chrome/installer/util/html_dialog.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -70,7 +70,9 @@
class EulaHTMLDialog {
public:
// |file| points to an html file on disk or to a resource via res:// spec.
- explicit EulaHTMLDialog(const std::wstring& file);
+ // |param| is a string that will be passed to the dialog as a parameter via
+ // the window.dialogArguments property.
+ EulaHTMLDialog(const std::wstring& file, const std::wstring& param);
~EulaHTMLDialog();
enum Outcome {
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/util/html_dialog_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698