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

Unified Diff: chrome/browser/extensions/extension_chrome_auth_private_api.cc

Issue 7472027: Omitted adding the Cloud Print component app on Chrome OS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed ASSERT for ChromeOS Created 9 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_chrome_auth_private_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_chrome_auth_private_api.cc
diff --git a/chrome/browser/extensions/extension_chrome_auth_private_api.cc b/chrome/browser/extensions/extension_chrome_auth_private_api.cc
index db5ed29f10e9c3600dc19e435832535d1145ac6b..f0b851d709661582bd61655611a7af77d93b08d3 100644
--- a/chrome/browser/extensions/extension_chrome_auth_private_api.cc
+++ b/chrome/browser/extensions/extension_chrome_auth_private_api.cc
@@ -17,7 +17,9 @@ bool IsCloudPrintEnableURL(Profile* profile, const GURL& url) {
const Extension* cloud_print_app = service->GetExtensionById(
extension_misc::kCloudPrintAppId, false);
if (!cloud_print_app) {
+#if !defined(OS_CHROMEOS)
NOTREACHED();
+#endif // !defined(OS_CHROMEOS)
return false;
}
return (service->GetExtensionByWebExtent(url) == cloud_print_app);
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_chrome_auth_private_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698