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

Unified Diff: ui/accessibility/ax_tree_unittest.cc

Issue 1550483002: Switch to standard integer types in ui/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-ui-events
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/ax_tree_source.h ('k') | ui/accessibility/ax_tree_update.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_tree_unittest.cc
diff --git a/ui/accessibility/ax_tree_unittest.cc b/ui/accessibility/ax_tree_unittest.cc
index b108d3823cbfe8f1df9ab6d6e34323fea6740240..16706e757d0147902791a2e9fdef4bbf9d33dab7 100644
--- a/ui/accessibility/ax_tree_unittest.cc
+++ b/ui/accessibility/ax_tree_unittest.cc
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_number_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -63,31 +66,31 @@ class FakeAXTreeDelegate : public AXTreeDelegate {
bool tree_data_changed() const { return tree_data_changed_; }
bool root_changed() const { return root_changed_; }
- const std::vector<int32>& deleted_ids() { return deleted_ids_; }
- const std::vector<int32>& subtree_deleted_ids() {
+ const std::vector<int32_t>& deleted_ids() { return deleted_ids_; }
+ const std::vector<int32_t>& subtree_deleted_ids() {
return subtree_deleted_ids_;
}
- const std::vector<int32>& created_ids() { return created_ids_; }
- const std::vector<int32>& node_creation_finished_ids() {
+ const std::vector<int32_t>& created_ids() { return created_ids_; }
+ const std::vector<int32_t>& node_creation_finished_ids() {
return node_creation_finished_ids_;
}
- const std::vector<int32>& subtree_creation_finished_ids() {
+ const std::vector<int32_t>& subtree_creation_finished_ids() {
return subtree_creation_finished_ids_;
}
- const std::vector<int32>& change_finished_ids() {
+ const std::vector<int32_t>& change_finished_ids() {
return change_finished_ids_;
}
private:
bool tree_data_changed_;
bool root_changed_;
- std::vector<int32> deleted_ids_;
- std::vector<int32> subtree_deleted_ids_;
- std::vector<int32> created_ids_;
- std::vector<int32> changed_ids_;
- std::vector<int32> node_creation_finished_ids_;
- std::vector<int32> subtree_creation_finished_ids_;
- std::vector<int32> change_finished_ids_;
+ std::vector<int32_t> deleted_ids_;
+ std::vector<int32_t> subtree_deleted_ids_;
+ std::vector<int32_t> created_ids_;
+ std::vector<int32_t> changed_ids_;
+ std::vector<int32_t> node_creation_finished_ids_;
+ std::vector<int32_t> subtree_creation_finished_ids_;
+ std::vector<int32_t> change_finished_ids_;
};
} // namespace
« no previous file with comments | « ui/accessibility/ax_tree_source.h ('k') | ui/accessibility/ax_tree_update.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698