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

Unified Diff: win8/test/test_registrar_constants.cc

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/test_registrar_constants.cc
diff --git a/win8/test/test_registrar_constants.cc b/win8/test/test_registrar_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..182fdde0e2667024414499a1988301817496627b
--- /dev/null
+++ b/win8/test/test_registrar_constants.cc
@@ -0,0 +1,31 @@
+// 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.
+
+#include "win8/test/test_registrar_constants.h"
+
+namespace win8 {
+namespace test {
+
+// The AppUserModelId value to use during default browser registration.
+const char kTestAppUserModelId[] = "appid";
+
+// Allows the caller to override the visible name given to the exe being
+// registered as the default browser.
+const char kTestExeName[] = "exe-name";
+
+// Specifies the path to the executable being registered as the default
+// browser.
+const char kTestExePath[] = "exe-path";
+
+// The AppUserModelId value to use during default browser registration.
+const char kTestProgId[] = "progid";
+
+// Default values for the above flags.
+const wchar_t kDefaultTestAppUserModelId[] = L"Chrome.test";
+const wchar_t kDefaultTestExeName[] = L"Test Runner";
+const wchar_t kDefaultTestExePath[] = L"chrome.exe";
+const wchar_t kDefaultTestProgId[] = L"ChromeTestProgId";
+
+}
+}

Powered by Google App Engine
This is Rietveld 408576698