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

Side by Side Diff: chrome/common/extensions/manifest_tests/extension_manifests_kiosk_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 (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 "build/build_config.h"
5 #include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h" 6 #include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h"
6 #include "extensions/common/extension.h" 7 #include "extensions/common/extension.h"
7 #include "extensions/common/manifest_constants.h" 8 #include "extensions/common/manifest_constants.h"
8 #include "extensions/common/manifest_handlers/kiosk_mode_info.h" 9 #include "extensions/common/manifest_handlers/kiosk_mode_info.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 namespace extensions { 12 namespace extensions {
12 13
13 class ExtensionManifestKioskModeTest : public ChromeManifestTest { 14 class ExtensionManifestKioskModeTest : public ChromeManifestTest {
14 }; 15 };
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 EXPECT_FALSE(KioskModeInfo::IsKioskOnly(extension.get())); 99 EXPECT_FALSE(KioskModeInfo::IsKioskOnly(extension.get()));
99 } 100 }
100 #else 101 #else
101 TEST_F(ExtensionManifestKioskModeTest, KioskOnlyFromNonChromeos) { 102 TEST_F(ExtensionManifestKioskModeTest, KioskOnlyFromNonChromeos) {
102 LoadAndExpectWarning("kiosk_only_platform_app.json", 103 LoadAndExpectWarning("kiosk_only_platform_app.json",
103 "'kiosk_only' is not allowed for specified platform."); 104 "'kiosk_only' is not allowed for specified platform.");
104 } 105 }
105 #endif // defined(OS_CHROMEOS) 106 #endif // defined(OS_CHROMEOS)
106 107
107 } // namespace extensions 108 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698