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

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

Issue 2473793002: Add missing web_contents.h include (Closed)
Patch Set: Created 4 years, 1 month 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/chrome_extension_test_notification_observer. h> 5 #include <chrome/browser/extensions/chrome_extension_test_notification_observer. h>
6 #include "base/scoped_observer.h" 6 #include "base/scoped_observer.h"
7 #include "chrome/browser/extensions/extension_action_test_util.h" 7 #include "chrome/browser/extensions/extension_action_test_util.h"
8 #include "chrome/browser/extensions/extension_util.h" 8 #include "chrome/browser/extensions/extension_util.h"
9 #include "chrome/browser/profiles/profile_manager.h" 9 #include "chrome/browser/profiles/profile_manager.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/browser/ui/tabs/tab_strip_model.h" 11 #include "chrome/browser/ui/tabs/tab_strip_model.h"
12 #include "content/public/browser/browser_context.h" 12 #include "content/public/browser/browser_context.h"
13 #include "content/public/browser/web_contents.h"
13 #include "extensions/browser/notification_types.h" 14 #include "extensions/browser/notification_types.h"
14 #include "extensions/browser/process_manager.h" 15 #include "extensions/browser/process_manager.h"
15 #include "extensions/common/extension.h" 16 #include "extensions/common/extension.h"
16 17
17 using extensions::Extension; 18 using extensions::Extension;
18 19
19 namespace { 20 namespace {
20 21
21 // A callback that returns true if the condition has been met and takes no 22 // A callback that returns true if the condition has been met and takes no
22 // arguments. 23 // arguments.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 116
116 void ChromeExtensionTestNotificationObserver::WaitForExtensionAndViewLoad() { 117 void ChromeExtensionTestNotificationObserver::WaitForExtensionAndViewLoad() {
117 WaitForExtensionLoad(); 118 WaitForExtensionLoad();
118 WaitForExtensionViewsToLoad(); 119 WaitForExtensionViewsToLoad();
119 } 120 }
120 121
121 void ChromeExtensionTestNotificationObserver::OnPageActionsUpdated( 122 void ChromeExtensionTestNotificationObserver::OnPageActionsUpdated(
122 content::WebContents* web_contents) { 123 content::WebContents* web_contents) {
123 MaybeQuit(); 124 MaybeQuit();
124 } 125 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698