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

Side by Side Diff: components/nacl/renderer/plugin/plugin_error.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * Error codes and data structures used to report errors when loading a nexe. 8 * Error codes and data structures used to report errors when loading a nexe.
9 */ 9 */
10 10
11 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_ERROR_H 11 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_ERROR_H
12 #define COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_ERROR_H 12 #define COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_ERROR_H
13 13
14 #include <string> 14 #include <string>
15 15
16 #include "base/macros.h"
16 #include "components/nacl/renderer/ppb_nacl_private.h" 17 #include "components/nacl/renderer/ppb_nacl_private.h"
17 #include "native_client/src/include/nacl_macros.h" 18 #include "native_client/src/include/nacl_macros.h"
18 19
19 namespace plugin { 20 namespace plugin {
20 21
21 class ErrorInfo { 22 class ErrorInfo {
22 public: 23 public:
23 ErrorInfo() { 24 ErrorInfo() {
24 SetReport(PP_NACL_ERROR_UNKNOWN, std::string()); 25 SetReport(PP_NACL_ERROR_UNKNOWN, std::string());
25 } 26 }
(...skipping 13 matching lines...) Expand all
39 40
40 private: 41 private:
41 PP_NaClError error_code_; 42 PP_NaClError error_code_;
42 std::string message_; 43 std::string message_;
43 NACL_DISALLOW_COPY_AND_ASSIGN(ErrorInfo); 44 NACL_DISALLOW_COPY_AND_ASSIGN(ErrorInfo);
44 }; 45 };
45 46
46 } // namespace plugin 47 } // namespace plugin
47 48
48 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_ERROR_H 49 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_ERROR_H
OLDNEW
« no previous file with comments | « components/nacl/renderer/plugin/plugin.h ('k') | components/nacl/renderer/plugin/pnacl_coordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698