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

Side by Side Diff: content/public/browser/browser_ppapi_host.h

Issue 61643022: Proxy private UMA pepper interface for out-of-process and NaCl plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add back browser impl for testing Created 7 years 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 // 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_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // Returns the path of the plugin. 75 // Returns the path of the plugin.
76 virtual const base::FilePath& GetPluginPath() = 0; 76 virtual const base::FilePath& GetPluginPath() = 0;
77 77
78 // Returns the user's profile data directory. 78 // Returns the user's profile data directory.
79 virtual const base::FilePath& GetProfileDataDirectory() = 0; 79 virtual const base::FilePath& GetProfileDataDirectory() = 0;
80 80
81 // Get the Document/Plugin URLs for the given PP_Instance. 81 // Get the Document/Plugin URLs for the given PP_Instance.
82 virtual GURL GetDocumentURLForInstance(PP_Instance instance) = 0; 82 virtual GURL GetDocumentURLForInstance(PP_Instance instance) = 0;
83 virtual GURL GetPluginURLForInstance(PP_Instance instance) = 0; 83 virtual GURL GetPluginURLForInstance(PP_Instance instance) = 0;
84
85 // Returns true if the plugin is in the renderer process.
86 virtual bool IsInProcess() const = 0;
84 }; 87 };
85 88
86 } // namespace content 89 } // namespace content
87 90
88 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ 91 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698