OLD | NEW |
1 // Copyright 2009-2010 Google Inc. | 1 // Copyright 2009-2010 Google Inc. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 // Returns a PostInstallAction value indicating the action to be taken by the | 470 // Returns a PostInstallAction value indicating the action to be taken by the |
471 // client after installation. | 471 // client after installation. |
472 [propget] HRESULT postInstallAction([out, retval] LONG*); | 472 [propget] HRESULT postInstallAction([out, retval] LONG*); |
473 } | 473 } |
474 | 474 |
475 [ | 475 [ |
476 object, | 476 object, |
477 dual, | 477 dual, |
478 uuid(4E223325-C16B-4eeb-AEDC-19AA99A237FA), | 478 uuid(4E223325-C16B-4eeb-AEDC-19AA99A237FA), |
479 helpstring("IRegistrationUpdateHook Interface"), | 479 helpstring("IRegistrationUpdateHook Interface"), |
480 pointer_default(unique), | 480 pointer_default(unique) |
481 ] | 481 ] |
482 interface IRegistrationUpdateHook : IDispatch { | 482 interface IRegistrationUpdateHook : IDispatch { |
483 HRESULT UpdateRegistry([in] BSTR app_id, [in] VARIANT_BOOL is_machine); | 483 HRESULT UpdateRegistry([in] BSTR app_id, [in] VARIANT_BOOL is_machine); |
484 }; | 484 }; |
485 | 485 |
486 [ | 486 [ |
487 object, | 487 object, |
488 uuid(b3a47570-0a85-4aea-8270-529d47899603), | 488 uuid(b3a47570-0a85-4aea-8270-529d47899603), |
489 helpstring("ICredentialDialog Interface"), | 489 helpstring("ICredentialDialog Interface"), |
490 pointer_default(unique), | 490 pointer_default(unique) |
491 ] | 491 ] |
492 interface ICredentialDialog : IUnknown { | 492 interface ICredentialDialog : IUnknown { |
493 HRESULT QueryUserForCredentials([in] ULONG_PTR owner_hwnd, | 493 HRESULT QueryUserForCredentials([in] ULONG_PTR owner_hwnd, |
494 [in] BSTR server, | 494 [in] BSTR server, |
495 [in] BSTR message, | 495 [in] BSTR message, |
496 [out] BSTR* username, | 496 [out] BSTR* username, |
497 [out] BSTR* password); | 497 [out] BSTR* password); |
498 }; | 498 }; |
499 | 499 |
500 // BEGIN gupdatem interfaces. | 500 // BEGIN gupdatem interfaces. |
501 | 501 |
502 // The following interfaces are exposed as a narrower version of the | 502 // The following interfaces are exposed as a narrower version of the |
503 // IGoogleUpdate3 interface from the gupdatem service. These interfaces are | 503 // IGoogleUpdate3 interface from the gupdatem service. These interfaces are |
504 // meant for use from medium and low integrity clients. | 504 // meant for use from medium and low integrity clients. |
505 | 505 |
506 [ | 506 [ |
507 object, | 507 object, |
508 dual, | 508 dual, |
509 uuid(494B20CF-282E-4BDD-9F5D-B70CB09D351E), | 509 uuid(494B20CF-282E-4BDD-9F5D-B70CB09D351E), |
510 helpstring("IGoogleUpdate3Web Interface"), | 510 helpstring("IGoogleUpdate3Web Interface"), |
511 pointer_default(unique), | 511 pointer_default(unique) |
512 ] | 512 ] |
513 interface IGoogleUpdate3Web : IDispatch { | 513 interface IGoogleUpdate3Web : IDispatch { |
514 HRESULT createAppBundleWeb([out, retval] IDispatch** app_bundle_web); | 514 HRESULT createAppBundleWeb([out, retval] IDispatch** app_bundle_web); |
515 }; | 515 }; |
516 | 516 |
517 [ | 517 [ |
518 object, | 518 object, |
519 uuid(2D363682-561D-4c3a-81C6-F2F82107562A), | 519 uuid(2D363682-561D-4c3a-81C6-F2F82107562A), |
520 helpstring("IGoogleUpdate3WebSecurity Interface"), | 520 helpstring("IGoogleUpdate3WebSecurity Interface"), |
521 pointer_default(unique), | 521 pointer_default(unique) |
522 ] | 522 ] |
523 interface IGoogleUpdate3WebSecurity : IUnknown { | 523 interface IGoogleUpdate3WebSecurity : IUnknown { |
524 HRESULT setOriginURL([in] BSTR origin_url); | 524 HRESULT setOriginURL([in] BSTR origin_url); |
525 }; | 525 }; |
526 | 526 |
527 [ | 527 [ |
528 object, | 528 object, |
529 dual, | 529 dual, |
530 uuid(DD42475D-6D46-496a-924E-BD5630B4CBBA), | 530 uuid(DD42475D-6D46-496a-924E-BD5630B4CBBA), |
531 helpstring("IAppBundleWeb Interface"), | 531 helpstring("IAppBundleWeb Interface"), |
532 pointer_default(unique), | 532 pointer_default(unique) |
533 ] | 533 ] |
534 interface IAppBundleWeb : IDispatch { | 534 interface IAppBundleWeb : IDispatch { |
535 [id(2)] HRESULT createApp([in] BSTR app_guid, | 535 [id(2)] HRESULT createApp([in] BSTR app_guid, |
536 [in] BSTR brand_code, | 536 [in] BSTR brand_code, |
537 [in] BSTR language, | 537 [in] BSTR language, |
538 [in] BSTR ap); | 538 [in] BSTR ap); |
539 [id(3)] HRESULT createInstalledApp([in] BSTR app_id); | 539 [id(3)] HRESULT createInstalledApp([in] BSTR app_id); |
540 [id(4)] HRESULT createAllInstalledApps(); | 540 [id(4)] HRESULT createAllInstalledApps(); |
541 | 541 |
542 [propget] HRESULT displayLanguage([out, retval] BSTR*); | 542 [propget] HRESULT displayLanguage([out, retval] BSTR*); |
(...skipping 18 matching lines...) Expand all Loading... |
561 HRESULT downloadPackage([in] BSTR app_id, [in] BSTR package_name); | 561 HRESULT downloadPackage([in] BSTR app_id, [in] BSTR package_name); |
562 | 562 |
563 [propget] HRESULT currentState([out, retval] VARIANT* current_state); | 563 [propget] HRESULT currentState([out, retval] VARIANT* current_state); |
564 }; | 564 }; |
565 | 565 |
566 [ | 566 [ |
567 object, | 567 object, |
568 dual, | 568 dual, |
569 uuid(18D0F672-18B4-48e6-AD36-6E6BF01DBBC4), | 569 uuid(18D0F672-18B4-48e6-AD36-6E6BF01DBBC4), |
570 helpstring("IAppWeb Interface"), | 570 helpstring("IAppWeb Interface"), |
571 pointer_default(unique), | 571 pointer_default(unique) |
572 ] | 572 ] |
573 interface IAppWeb : IDispatch { | 573 interface IAppWeb : IDispatch { |
574 [propget] HRESULT appId([out, retval] BSTR*); | 574 [propget] HRESULT appId([out, retval] BSTR*); |
575 | 575 |
576 // Returns an IAppVersionWeb IDispatch object. | 576 // Returns an IAppVersionWeb IDispatch object. |
577 [propget] HRESULT currentVersionWeb([out, retval] IDispatch** current); | 577 [propget] HRESULT currentVersionWeb([out, retval] IDispatch** current); |
578 [propget] HRESULT nextVersionWeb([out, retval] IDispatch** next); | 578 [propget] HRESULT nextVersionWeb([out, retval] IDispatch** next); |
579 | 579 |
580 // Returns an IAppCommandWeb IDispatch object, or NULL. | 580 // Returns an IAppCommandWeb IDispatch object, or NULL. |
581 [propget] HRESULT command([in] BSTR command_id, | 581 [propget] HRESULT command([in] BSTR command_id, |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 uuid(9B2340A0-4068-43d6-B404-32E27217859D), | 1020 uuid(9B2340A0-4068-43d6-B404-32E27217859D), |
1021 helpstring("GoogleUpdateCore Machine Class") | 1021 helpstring("GoogleUpdateCore Machine Class") |
1022 ] | 1022 ] |
1023 coclass GoogleUpdateCoreMachineClass | 1023 coclass GoogleUpdateCoreMachineClass |
1024 { | 1024 { |
1025 [default] interface IUnknown; | 1025 [default] interface IUnknown; |
1026 } | 1026 } |
1027 | 1027 |
1028 // END Legacy google_update_idl coclasses. | 1028 // END Legacy google_update_idl coclasses. |
1029 }; | 1029 }; |
OLD | NEW |