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

Side by Side Diff: chrome/common/extensions/manifest_tests/extension_manifests_options_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 "base/macros.h"
5 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
6 #include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h" 7 #include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h"
7 #include "extensions/common/error_utils.h" 8 #include "extensions/common/error_utils.h"
8 #include "extensions/common/feature_switch.h" 9 #include "extensions/common/feature_switch.h"
9 #include "extensions/common/manifest_constants.h" 10 #include "extensions/common/manifest_constants.h"
10 #include "extensions/common/manifest_handlers/options_page_info.h" 11 #include "extensions/common/manifest_handlers/options_page_info.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 using namespace extensions; 14 using namespace extensions;
14 15
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 ASSERT_FALSE(FeatureSwitch::embedded_extension_options()->IsEnabled()); 134 ASSERT_FALSE(FeatureSwitch::embedded_extension_options()->IsEnabled());
134 EXPECT_TRUE(TestOptionsPageChromeStyleAndOpenInTab(true)); 135 EXPECT_TRUE(TestOptionsPageChromeStyleAndOpenInTab(true));
135 { 136 {
136 FeatureSwitch::ScopedOverride enable_flag( 137 FeatureSwitch::ScopedOverride enable_flag(
137 FeatureSwitch::embedded_extension_options(), true); 138 FeatureSwitch::embedded_extension_options(), true);
138 EXPECT_TRUE(TestOptionsPageChromeStyleAndOpenInTab(false)); 139 EXPECT_TRUE(TestOptionsPageChromeStyleAndOpenInTab(false));
139 } 140 }
140 } 141 }
141 142
142 } // namespace 143 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698