naiveproxy/base/win/vector.cc

25 lines
581 B
C++
Raw Normal View History

2018-08-15 01:19:20 +03:00
// 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