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

Side by Side Diff: chrome/browser/extensions/extension_error_reporter.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) 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_EXTENSION_ERROR_REPORTER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_REPORTER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_REPORTER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_REPORTER_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 #include <vector> 9 #include <vector>
11 10
12 #include "base/string16.h" 11 #include "base/string16.h"
13 12
14 class MessageLoop; 13 class MessageLoop;
15 14
16 // Exposes an easy way for the various components of the extension system to 15 // Exposes an easy way for the various components of the extension system to
17 // report errors. This is a singleton that lives on the UI thread, with the 16 // report errors. This is a singleton that lives on the UI thread, with the
(...skipping 27 matching lines...) Expand all
45 44
46 explicit ExtensionErrorReporter(bool enable_noisy_errors); 45 explicit ExtensionErrorReporter(bool enable_noisy_errors);
47 ~ExtensionErrorReporter(); 46 ~ExtensionErrorReporter();
48 47
49 MessageLoop* ui_loop_; 48 MessageLoop* ui_loop_;
50 std::vector<string16> errors_; 49 std::vector<string16> errors_;
51 bool enable_noisy_errors_; 50 bool enable_noisy_errors_;
52 }; 51 };
53 52
54 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_REPORTER_H_ 53 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_REPORTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui.h ('k') | chrome/browser/extensions/extension_event_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698