vector.cc 581 B

123456789101112131415161718192021222324
  1. // Copyright 2018 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. #include "base/win/vector.h"
  5. namespace base {
  6. namespace win {
  7. namespace internal {
  8. HRESULT VectorChangedEventArgs::get_CollectionChange(
  9. ABI::Windows::Foundation::Collections::CollectionChange* value) {
  10. *value = change_;
  11. return S_OK;
  12. }
  13. HRESULT VectorChangedEventArgs::get_Index(unsigned int* value) {
  14. *value = index_;
  15. return S_OK;
  16. }
  17. } // namespace internal
  18. } // namespace win
  19. } // namespace base