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

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

Issue 10665053: Move ExtensionCreator into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_creator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/extensions/extension_browsertest.h" 5 #include "chrome/browser/extensions/extension_browsertest.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 19 matching lines...) Expand all
30 #include "chrome/common/chrome_paths.h" 30 #include "chrome/common/chrome_paths.h"
31 #include "chrome/common/chrome_switches.h" 31 #include "chrome/common/chrome_switches.h"
32 #include "chrome/test/base/ui_test_utils.h" 32 #include "chrome/test/base/ui_test_utils.h"
33 #include "content/public/browser/navigation_controller.h" 33 #include "content/public/browser/navigation_controller.h"
34 #include "content/public/browser/navigation_entry.h" 34 #include "content/public/browser/navigation_entry.h"
35 #include "content/public/browser/notification_registrar.h" 35 #include "content/public/browser/notification_registrar.h"
36 #include "content/public/browser/notification_service.h" 36 #include "content/public/browser/notification_service.h"
37 #include "content/public/browser/render_view_host.h" 37 #include "content/public/browser/render_view_host.h"
38 38
39 using extensions::Extension; 39 using extensions::Extension;
40 using extensions::ExtensionCreator;
40 41
41 ExtensionBrowserTest::ExtensionBrowserTest() 42 ExtensionBrowserTest::ExtensionBrowserTest()
42 : loaded_(false), 43 : loaded_(false),
43 installed_(false), 44 installed_(false),
44 extension_installs_observed_(0), 45 extension_installs_observed_(0),
45 extension_load_errors_observed_(0), 46 extension_load_errors_observed_(0),
46 target_page_action_count_(-1), 47 target_page_action_count_(-1),
47 target_visible_page_action_count_(-1) { 48 target_visible_page_action_count_(-1) {
48 EXPECT_TRUE(temp_dir_.CreateUniqueTempDir()); 49 EXPECT_TRUE(temp_dir_.CreateUniqueTempDir());
49 AppShortcutManager::SetShortcutCreationDisabledForTesting(true); 50 AppShortcutManager::SetShortcutCreationDisabledForTesting(true);
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 case content::NOTIFICATION_LOAD_STOP: 630 case content::NOTIFICATION_LOAD_STOP:
630 VLOG(1) << "Got LOAD_STOP notification."; 631 VLOG(1) << "Got LOAD_STOP notification.";
631 MessageLoopForUI::current()->Quit(); 632 MessageLoopForUI::current()->Quit();
632 break; 633 break;
633 634
634 default: 635 default:
635 NOTREACHED(); 636 NOTREACHED();
636 break; 637 break;
637 } 638 }
638 } 639 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_creator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698