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

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

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_
7 #pragma once
8 7
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
11 #include "chrome/browser/ui/global_error/global_error.h" 10 #include "chrome/browser/ui/global_error/global_error.h"
12 #include "chrome/common/extensions/extension.h" 11 #include "chrome/common/extensions/extension.h"
13 12
14 class Browser; 13 class Browser;
15 class ExtensionService; 14 class ExtensionService;
16 15
17 // This class encapsulates the UI we want to show users when certain events 16 // This class encapsulates the UI we want to show users when certain events
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 string16 GenerateMessageSection(const extensions::ExtensionIdSet* extensions, 68 string16 GenerateMessageSection(const extensions::ExtensionIdSet* extensions,
70 int template_message_id); 69 int template_message_id);
71 70
72 // Generates the message displayed in the body of the alert. 71 // Generates the message displayed in the body of the alert.
73 string16 GenerateMessage(); 72 string16 GenerateMessage();
74 73
75 DISALLOW_COPY_AND_ASSIGN(ExtensionGlobalError); 74 DISALLOW_COPY_AND_ASSIGN(ExtensionGlobalError);
76 }; 75 };
77 76
78 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_ 77 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_util.h ('k') | chrome/browser/extensions/extension_global_error_badge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698