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

Unified Diff: win8/test/metro_registration_helper.h

Issue 12096064: Automatic Win8 default browser registration for the ash unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 7 years, 10 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: win8/test/metro_registration_helper.h
diff --git a/win8/test/metro_registration_helper.h b/win8/test/metro_registration_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..fc542a3d73a7e1e3a79c5d313f16ab907b2dd1a2
--- /dev/null
+++ b/win8/test/metro_registration_helper.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2013 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 WIN8_TEST_METRO_REGISTRATION_HELPER_H_
+#define WIN8_TEST_METRO_REGISTRATION_HELPER_H_
+
+#include "base/string16.h"
+
+namespace win8 {
+
+// Registers chrome.exe as the default browser. Intended to be used by a test
+// binary in the build output directory and assumes the presence of
+// test_delegate_execute.exe, chrome.exe and all needed DLLs in the same
grt (UTC plus 2) 2013/02/12 15:37:43 test_delegate_execute.exe doesn't appear to exist
robertshield 2013/02/12 16:57:08 Comment updated. Also, I decided to have this meth
+// directory as the calling module.
+bool RegisterTestDefaultBrowser(const string16& app_user_model_id);
+
+} // namespace win8
+
+#endif // WIN8_TEST_METRO_REGISTRATION_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698