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

Side by Side Diff: chrome/browser/extensions/extension_nacl_browsertest.cc

Issue 10826157: Check for warnings when loading extensions in browser tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix existing tests Created 8 years, 4 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 | Annotate | Revision Log
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/command_line.h" 5 #include "base/command_line.h"
6 #include "base/file_path.h" 6 #include "base/file_path.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/extensions/crx_installer.h" 9 #include "chrome/browser/extensions/crx_installer.h"
10 #include "chrome/browser/extensions/extension_browsertest.h" 10 #include "chrome/browser/extensions/extension_browsertest.h"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 IN_PROC_BROWSER_TEST_F(NaClExtensionTest, UnpackedExtension) { 146 IN_PROC_BROWSER_TEST_F(NaClExtensionTest, UnpackedExtension) {
147 ASSERT_TRUE(test_server()->Start()); 147 ASSERT_TRUE(test_server()->Start());
148 148
149 const Extension* extension = InstallExtension(INSTALL_TYPE_UNPACKED); 149 const Extension* extension = InstallExtension(INSTALL_TYPE_UNPACKED);
150 ASSERT_TRUE(extension); 150 ASSERT_TRUE(extension);
151 ASSERT_EQ(extension->location(), Extension::LOAD); 151 ASSERT_EQ(extension->location(), Extension::LOAD);
152 CheckPluginsCreated(extension, true); 152 CheckPluginsCreated(extension, true);
153 } 153 }
154 154
155 } // namespace 155 } // namespace
156
Aaron Boodman 2012/08/07 02:12:35 stray edit
Mihai Parparita -not on Chrome 2012/08/09 23:04:08 Fixed.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698