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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_helper_unittest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/browsing_data/browsing_data_helper.h" 5 #include "chrome/browser/browsing_data/browsing_data_helper.h"
6 6
7 #include "base/macros.h"
7 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
8 #include "chrome/common/url_constants.h" 9 #include "chrome/common/url_constants.h"
9 #include "extensions/common/constants.h" 10 #include "extensions/common/constants.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 #include "url/gurl.h" 12 #include "url/gurl.h"
12 #include "url/url_constants.h" 13 #include "url/url_constants.h"
13 14
14 #if defined(ENABLE_EXTENSIONS) 15 #if defined(ENABLE_EXTENSIONS)
15 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h" 16 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h"
16 #endif 17 #endif
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 EXPECT_TRUE(Match(kOriginExt, kExtension, nullptr)); 169 EXPECT_TRUE(Match(kOriginExt, kExtension, nullptr));
169 EXPECT_FALSE(Match(kOriginExt, kUnprotected, nullptr)); 170 EXPECT_FALSE(Match(kOriginExt, kUnprotected, nullptr));
170 EXPECT_FALSE(Match(kOriginExt, kProtected, nullptr)); 171 EXPECT_FALSE(Match(kOriginExt, kProtected, nullptr));
171 172
172 EXPECT_FALSE(Match(kOriginDevTools, kExtension, nullptr)); 173 EXPECT_FALSE(Match(kOriginDevTools, kExtension, nullptr));
173 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected, nullptr)); 174 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected, nullptr));
174 EXPECT_FALSE(Match(kOriginDevTools, kProtected, nullptr)); 175 EXPECT_FALSE(Match(kOriginDevTools, kProtected, nullptr));
175 } 176 }
176 177
177 } // namespace 178 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698