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

Side by Side Diff: content/ppapi_plugin/ppapi_thread.h

Issue 320523002: Add FILE_MISSING in PpapiThread::LoadResult for UMA reporting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
6 #define CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void Shutdown() OVERRIDE; 49 virtual void Shutdown() OVERRIDE;
50 50
51 private: 51 private:
52 // Make sure the enum list in tools/histogram/histograms.xml is updated with 52 // Make sure the enum list in tools/histogram/histograms.xml is updated with
53 // any change in this list. 53 // any change in this list.
54 enum LoadResult { 54 enum LoadResult {
55 LOAD_SUCCESS, 55 LOAD_SUCCESS,
56 LOAD_FAILED, 56 LOAD_FAILED,
57 ENTRY_POINT_MISSING, 57 ENTRY_POINT_MISSING,
58 INIT_FAILED, 58 INIT_FAILED,
59 FILE_MISSING,
59 // NOTE: Add new values only immediately above this line. 60 // NOTE: Add new values only immediately above this line.
60 LOAD_RESULT_MAX // Boundary value for UMA_HISTOGRAM_ENUMERATION. 61 LOAD_RESULT_MAX // Boundary value for UMA_HISTOGRAM_ENUMERATION.
61 }; 62 };
62 63
63 // ChildThread overrides. 64 // ChildThread overrides.
64 virtual bool Send(IPC::Message* msg) OVERRIDE; 65 virtual bool Send(IPC::Message* msg) OVERRIDE;
65 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; 66 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE;
66 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; 67 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
67 68
68 // PluginDispatcher::PluginDelegate implementation. 69 // PluginDispatcher::PluginDelegate implementation.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // Caches the handle to the peer process if this is a broker. 156 // Caches the handle to the peer process if this is a broker.
156 base::win::ScopedHandle peer_handle_; 157 base::win::ScopedHandle peer_handle_;
157 #endif 158 #endif
158 159
159 DISALLOW_IMPLICIT_CONSTRUCTORS(PpapiThread); 160 DISALLOW_IMPLICIT_CONSTRUCTORS(PpapiThread);
160 }; 161 };
161 162
162 } // namespace content 163 } // namespace content
163 164
164 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 165 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698