naiveproxy/base/win/vector.cc
2018-12-09 21:59:24 -05:00

25 lines
581 B
C++

// Copyright 2018 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 "base/win/vector.h"
namespace base {
namespace win {
namespace internal {
HRESULT VectorChangedEventArgs::get_CollectionChange(
ABI::Windows::Foundation::Collections::CollectionChange* value) {
*value = change_;
return S_OK;
}
HRESULT VectorChangedEventArgs::get_Index(unsigned int* value) {
*value = index_;
return S_OK;
}
} // namespace internal
} // namespace win
} // namespace base