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

Unified Diff: chrome/browser/first_run/first_run.h

Issue 12035043: Implementing app command to query EULA acceptance state for Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code complete: added app command install and app_host.exe wait/forward. Created 7 years, 11 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/browser/first_run/first_run.h
diff --git a/chrome/browser/first_run/first_run.h b/chrome/browser/first_run/first_run.h
index d289c957cba6b1cce635175bbc606fda87e32d6d..e268d6f1edf320ea2fee5aec5bace0f921447f2e 100644
--- a/chrome/browser/first_run/first_run.h
+++ b/chrome/browser/first_run/first_run.h
@@ -152,6 +152,13 @@ ProcessMasterPreferencesResult ProcessMasterPreferences(
const FilePath& user_data_dir,
MasterPrefs* out_prefs);
+#if defined(OS_WIN)
grt (UTC plus 2) 2013/01/23 19:02:29 i think it's cleaner to implement this for all pla
huangs 2013/01/24 00:08:08 Moot; code is moved to eula_util.h/cc
+// Performs a comprehensive test on whether or not EULA has been accepted for
+// Chrome, and returns the result. This result may be obtained via exit code
grt (UTC plus 2) 2013/01/23 19:02:29 remove second sentence.
huangs 2013/01/24 00:08:08 Done.
+// with the Chrome command line "--query-eula-acceptance".
+bool IsEULAAccepted();
+#endif
+
// Show the first run search engine bubble at the first appropriate opportunity.
// This bubble may be delayed by other UI, like global errors and sync promos.
class FirstRunBubbleLauncher : public content::NotificationObserver {

Powered by Google App Engine
This is Rietveld 408576698