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

Side by Side Diff: chrome/browser/extensions/crashed_extension_infobar.h

Issue 6598057: Split infobar_delegate.[cc,h] into separate pieces for the different classes defined within, so that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix wrong include Created 9 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_EXTENSIONS_CRASHED_EXTENSION_INFOBAR_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CRASHED_EXTENSION_INFOBAR_H_
6 #define CHROME_BROWSER_EXTENSIONS_CRASHED_EXTENSION_INFOBAR_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CRASHED_EXTENSION_INFOBAR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "chrome/browser/tab_contents/infobar_delegate.h" 12 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
13 13
14 class Extension; 14 class Extension;
15 class ExtensionService; 15 class ExtensionService;
16 class SkBitmap; 16 class SkBitmap;
17 17
18 // This infobar will be displayed when an extension process crashes. It allows 18 // This infobar will be displayed when an extension process crashes. It allows
19 // the user to reload the crashed extension. 19 // the user to reload the crashed extension.
20 class CrashedExtensionInfoBarDelegate : public ConfirmInfoBarDelegate { 20 class CrashedExtensionInfoBarDelegate : public ConfirmInfoBarDelegate {
21 public: 21 public:
22 // |tab_contents| should point to the TabContents the infobar will be added 22 // |tab_contents| should point to the TabContents the infobar will be added
(...skipping 21 matching lines...) Expand all
44 44
45 ExtensionService* extensions_service_; 45 ExtensionService* extensions_service_;
46 46
47 const std::string extension_id_; 47 const std::string extension_id_;
48 const std::string extension_name_; 48 const std::string extension_name_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(CrashedExtensionInfoBarDelegate); 50 DISALLOW_COPY_AND_ASSIGN(CrashedExtensionInfoBarDelegate);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_EXTENSIONS_CRASHED_EXTENSION_INFOBAR_H_ 53 #endif // CHROME_BROWSER_EXTENSIONS_CRASHED_EXTENSION_INFOBAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698