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

Unified Diff: chrome_frame/utils.h

Issue 465074: Added support for running reliability tests for ChromeFrame on similar lines ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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_frame/test/reliability/run_all_unittests.cc ('k') | chrome_frame/utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/utils.h
===================================================================
--- chrome_frame/utils.h (revision 34059)
+++ chrome_frame/utils.h (working copy)
@@ -181,6 +181,19 @@
// Gets an integer configuration value from the registry.
int GetConfigInt(int default_value, const wchar_t* value_name);
+// Sets an integer configuration value in the registry.
+bool SetConfigInt(const wchar_t* value_name, int value);
+
+// Sets a boolean integer configuration value in the registry.
+bool SetConfigBool(const wchar_t* value_name, bool value);
+
+// Deletes the configuration value passed in.
+bool DeleteConfigValue(const wchar_t* value_name);
+
+// Returns true if we are running in headless mode in which case we need to
+// gather crash dumps, etc to send them to the crash server.
+bool IsHeadlessMode();
+
// Check if this url is opting into Chrome Frame based on static settings.
bool IsOptInUrl(const wchar_t* url);
@@ -278,4 +291,6 @@
#define COM_INTERFACE_BLIND_DELEGATE() \
COM_INTERFACE_ENTRY_FUNC_BLIND(0, CheckOutgoingInterface<_ComMapClass>)
+extern const wchar_t kChromeFrameHeadlessMode[];
+
#endif // CHROME_FRAME_UTILS_H_
« no previous file with comments | « chrome_frame/test/reliability/run_all_unittests.cc ('k') | chrome_frame/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698