Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Side by Side Diff: base/win/enum_variant.h

Issue 1124763003: Update from https://crrev.com/327068 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: update nacl, buildtools, fix display_change_notifier_unittest Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_WIN_ENUM_VARIANT_H_ 5 #ifndef BASE_WIN_ENUM_VARIANT_H_
6 #define BASE_WIN_ENUM_VARIANT_H_ 6 #define BASE_WIN_ENUM_VARIANT_H_
7 7
8 #include <unknwn.h> 8 #include <unknwn.h>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 21 matching lines...) Expand all
32 32
33 // IEnumVARIANT. 33 // IEnumVARIANT.
34 STDMETHODIMP Next(ULONG requested_count, 34 STDMETHODIMP Next(ULONG requested_count,
35 VARIANT* out_elements, 35 VARIANT* out_elements,
36 ULONG* out_elements_received) override; 36 ULONG* out_elements_received) override;
37 STDMETHODIMP Skip(ULONG skip_count) override; 37 STDMETHODIMP Skip(ULONG skip_count) override;
38 STDMETHODIMP Reset() override; 38 STDMETHODIMP Reset() override;
39 STDMETHODIMP Clone(IEnumVARIANT** out_cloned_object) override; 39 STDMETHODIMP Clone(IEnumVARIANT** out_cloned_object) override;
40 40
41 private: 41 private:
42 ~EnumVariant(); 42 ~EnumVariant() override;
43 43
44 scoped_ptr<VARIANT[]> items_; 44 scoped_ptr<VARIANT[]> items_;
45 unsigned long count_; 45 unsigned long count_;
46 unsigned long current_index_; 46 unsigned long current_index_;
47 }; 47 };
48 48
49 } // namespace win 49 } // namespace win
50 } // namespace base 50 } // namespace base
51 51
52 #endif // BASE_WIN_ENUM_VARIANT_H_ 52 #endif // BASE_WIN_ENUM_VARIANT_H_
OLDNEW
« no previous file with comments | « base/values.cc ('k') | base/win/event_trace_consumer.h » ('j') | mojo/public/tools/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698