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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 104673003: Pepper: Send dev/canary channel status to plugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OVERRIDE build fix 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_content_browser_client.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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 #if defined(USE_NSS) 265 #if defined(USE_NSS)
266 virtual 266 virtual
267 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 267 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
268 const GURL& url) OVERRIDE; 268 const GURL& url) OVERRIDE;
269 #endif 269 #endif
270 270
271 virtual bool IsPluginAllowedToCallRequestOSFileHandle( 271 virtual bool IsPluginAllowedToCallRequestOSFileHandle(
272 content::BrowserContext* browser_context, 272 content::BrowserContext* browser_context,
273 const GURL& url) OVERRIDE; 273 const GURL& url) OVERRIDE;
274 274
275 virtual bool IsPluginAllowedToUseDevChannelAPIs() OVERRIDE;
276
275 private: 277 private:
276 #if defined(ENABLE_PLUGINS) 278 #if defined(ENABLE_PLUGINS)
277 // Set of origins that can use TCP/UDP private APIs from NaCl. 279 // Set of origins that can use TCP/UDP private APIs from NaCl.
278 std::set<std::string> allowed_socket_origins_; 280 std::set<std::string> allowed_socket_origins_;
279 // Set of origins that can get a handle for FileIO from NaCl. 281 // Set of origins that can get a handle for FileIO from NaCl.
280 std::set<std::string> allowed_file_handle_origins_; 282 std::set<std::string> allowed_file_handle_origins_;
281 #endif 283 #endif
282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> 284 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate>
283 permissions_policy_delegate_; 285 permissions_policy_delegate_;
284 286
285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 287 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
286 }; 288 };
287 289
288 } // namespace chrome 290 } // namespace chrome
289 291
290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 292 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698