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

Side by Side Diff: extensions/common/manifest_handlers/externally_connectable_unittest.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <algorithm> 7 #include <algorithm>
6 8
9 #include "base/macros.h"
7 #include "extensions/common/error_utils.h" 10 #include "extensions/common/error_utils.h"
8 #include "extensions/common/manifest_constants.h" 11 #include "extensions/common/manifest_constants.h"
9 #include "extensions/common/manifest_handlers/externally_connectable.h" 12 #include "extensions/common/manifest_handlers/externally_connectable.h"
10 #include "extensions/common/manifest_test.h" 13 #include "extensions/common/manifest_test.h"
11 #include "extensions/common/permissions/permissions_data.h" 14 #include "extensions/common/permissions/permissions_data.h"
12 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
14 17
15 using testing::ElementsAre; 18 using testing::ElementsAre;
16 19
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); 331 EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com")));
329 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); 332 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org")));
330 } 333 }
331 334
332 TEST_F(ExternallyConnectableTest, WarningNothingSpecified) { 335 TEST_F(ExternallyConnectableTest, WarningNothingSpecified) {
333 LoadAndExpectWarning("externally_connectable_nothing_specified.json", 336 LoadAndExpectWarning("externally_connectable_nothing_specified.json",
334 errors::kErrorNothingSpecified); 337 errors::kErrorNothingSpecified);
335 } 338 }
336 339
337 } // namespace extensions 340 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_handlers/externally_connectable.cc ('k') | extensions/common/manifest_handlers/file_handler_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698