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

Side by Side Diff: extensions/browser/guest_view/extension_options/extension_options_apitest.cc

Issue 556563003: Move ExtensionOptionsGuest code from chrome to extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn Created 6 years, 3 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 "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
7 #include "chrome/browser/extensions/extension_apitest.h" 7 #include "chrome/browser/extensions/extension_apitest.h"
8 #include "chrome/test/base/ui_test_utils.h" 8 #include "chrome/test/base/ui_test_utils.h"
9 #include "extensions/common/feature_switch.h" 9 #include "extensions/common/feature_switch.h"
10 #include "extensions/common/switches.h" 10 #include "extensions/common/switches.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 } 64 }
65 65
66 IN_PROC_BROWSER_TEST_F(ExtensionOptionsApiTest, 66 IN_PROC_BROWSER_TEST_F(ExtensionOptionsApiTest,
67 CannotEmbedUsingInvalidExtensionIds) { 67 CannotEmbedUsingInvalidExtensionIds) {
68 ASSERT_TRUE(InstallExtension(test_data_dir_.AppendASCII("extension_options") 68 ASSERT_TRUE(InstallExtension(test_data_dir_.AppendASCII("extension_options")
69 .AppendASCII("embed_invalid"), 69 .AppendASCII("embed_invalid"),
70 1)); 70 1));
71 ASSERT_TRUE( 71 ASSERT_TRUE(
72 RunExtensionSubtest("extension_options/embed_invalid", "test.html")); 72 RunExtensionSubtest("extension_options/embed_invalid", "test.html"));
73 } 73 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698