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

Side by Side Diff: chrome/common/extensions/permissions/chrome_permission_message_rules_unittest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include <stddef.h>
6
5 #include <set> 7 #include <set>
6 #include <vector> 8 #include <vector>
7 9
8 #include "base/stl_util.h" 10 #include "base/stl_util.h"
9 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
11 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
12 #include "chrome/common/extensions/permissions/chrome_permission_message_rules.h " 14 #include "chrome/common/extensions/permissions/chrome_permission_message_rules.h "
13 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
14 16
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 for (size_t j = 0; j < i; j++) { 55 for (size_t j = 0; j < i; j++) {
54 EXPECT_FALSE(MakesRedundant(rules[j], rules[i])) 56 EXPECT_FALSE(MakesRedundant(rules[j], rules[i]))
55 << "Rule at index " << i << " " << RuleToString(rules[i]) 57 << "Rule at index " << i << " " << RuleToString(rules[i])
56 << " is redundant because of previous rule at index " << j << " " 58 << " is redundant because of previous rule at index " << j << " "
57 << RuleToString(rules[j]); 59 << RuleToString(rules[j]);
58 } 60 }
59 } 61 }
60 } 62 }
61 63
62 } // namespace extensions 64 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698