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

Unified Diff: chrome/browser/extensions/external_provider_impl.h

Issue 10875065: Disable install of new default_apps for existing users (Closed) Base URL: http://git.chromium.org/git/chromium.git@disable_sync_behav
Patch Set: Created 8 years, 4 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/extensions/external_provider_impl.h
diff --git a/chrome/browser/extensions/external_provider_impl.h b/chrome/browser/extensions/external_provider_impl.h
index 26384403c87e2e1901f949ab14549ac18eaf163c..31574e9dddac57187e9843ee37e3669b4cc330e5 100644
--- a/chrome/browser/extensions/external_provider_impl.h
+++ b/chrome/browser/extensions/external_provider_impl.h
@@ -75,6 +75,9 @@ class ExternalProviderImpl : public ExternalProviderInterface {
}
private:
+ // Returns true if the app was a default app in Chrome 22.
+ static bool IsOldDefaultApp(const std::string& extension_id);
+
// Location for external extensions that are provided by this provider from
// local crx files.
const Extension::Location crx_location_;

Powered by Google App Engine
This is Rietveld 408576698