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

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

Issue 5089001: Cleanup: Include browser.h -> ui/browser.h [Part 3]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes. Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_infobar_delegate.h" 5 #include "chrome/browser/extensions/extension_infobar_delegate.h"
6 6
7 #include "chrome/browser/browser.h"
8 #include "chrome/browser/profile.h"
9 #include "chrome/browser/extensions/extension_host.h" 7 #include "chrome/browser/extensions/extension_host.h"
10 #include "chrome/browser/extensions/extension_process_manager.h" 8 #include "chrome/browser/extensions/extension_process_manager.h"
9 #include "chrome/browser/profile.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 10 #include "chrome/browser/tab_contents/tab_contents.h"
11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/common/notification_details.h" 12 #include "chrome/common/notification_details.h"
13 #include "chrome/common/notification_source.h" 13 #include "chrome/common/notification_source.h"
14 #include "chrome/common/notification_type.h" 14 #include "chrome/common/notification_type.h"
15 15
16 ExtensionInfoBarDelegate::ExtensionInfoBarDelegate(Browser* browser, 16 ExtensionInfoBarDelegate::ExtensionInfoBarDelegate(Browser* browser,
17 TabContents* tab_contents, 17 TabContents* tab_contents,
18 const Extension* extension, 18 const Extension* extension,
19 const GURL& url) 19 const GURL& url)
20 : InfoBarDelegate(tab_contents), 20 : InfoBarDelegate(tab_contents),
21 observer_(NULL), 21 observer_(NULL),
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 if (extension_ == extension) 82 if (extension_ == extension)
83 tab_contents_->RemoveInfoBar(this); 83 tab_contents_->RemoveInfoBar(this);
84 break; 84 break;
85 } 85 }
86 default: { 86 default: {
87 NOTREACHED() << "Unknown message"; 87 NOTREACHED() << "Unknown message";
88 break; 88 break;
89 } 89 }
90 } 90 }
91 } 91 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_incognito_apitest.cc ('k') | chrome/browser/extensions/extension_infobar_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698