Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WIN8_TEST_METRO_REGISTRATION_HELPER_H_ | |
| 6 #define WIN8_TEST_METRO_REGISTRATION_HELPER_H_ | |
| 7 | |
| 8 #include "base/string16.h" | |
| 9 | |
| 10 namespace win8 { | |
| 11 | |
| 12 // Registers a viewer process as a potential Win8 default browser. Intended to | |
| 13 // be used by a test binary in the build output directory and assumes the | |
| 14 // presence of test_registrar.exe, a viewer process and all needed DLLs in the | |
| 15 // same directory as the calling module. The viewer process if then subsequently | |
|
grt (UTC plus 2)
2013/02/12 18:17:27
if -> is
robertshield
2013/02/12 18:35:34
Done.
| |
| 16 // set as THE default Win8 browser is activatable using the AppUserModelId in | |
|
grt (UTC plus 2)
2013/02/12 18:17:27
comma after "browser"?
robertshield
2013/02/12 18:35:34
Done.
| |
| 17 // |app_user_model_id| and will show up in the default browser selection dialog | |
| 18 // as |viewer_process_name|. | |
| 19 // | |
| 20 // See also open_with_dialog_controller.h for a mechanism for setting THE | |
| 21 // default Win8 browser. | |
| 22 bool RegisterTestDefaultBrowser(const string16& app_user_model_id, | |
| 23 const string16& viewer_process_name); | |
| 24 | |
| 25 } // namespace win8 | |
| 26 | |
| 27 #endif // WIN8_TEST_METRO_REGISTRATION_HELPER_H_ | |
| OLD | NEW |