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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 10909239: Rename PACKAGED_APP references to LEGACY_PACKAGED_APP (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index bb4d4d545fb342b89eb2322f1c511289bdbecc49..f15e961d3309684b10cbff68a4bf8e60f7ab6659 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1637,7 +1637,7 @@ bool ChromeContentBrowserClient::AllowPepperSocketAPI(
if (allowed_list == "*") {
// The wildcard allows socket API only for packaged and platform apps.
return extension &&
- (extension->GetType() == Extension::TYPE_PACKAGED_APP ||
+ (extension->GetType() == Extension::TYPE_LEGACY_PACKAGED_APP ||
extension->GetType() == Extension::TYPE_PLATFORM_APP);
} else if (!allowed_list.empty()) {
StringTokenizer t(allowed_list, ",");
« no previous file with comments | « no previous file | chrome/browser/extensions/api/management/management_api.cc » ('j') | chrome/common/extensions/extension.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698