| Index: chrome/browser/extensions/default_apps.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/default_apps.cc (revision 154451)
|
| +++ chrome/browser/extensions/default_apps.cc (working copy)
|
| @@ -75,14 +75,10 @@
|
|
|
| switch (state) {
|
| case kUnknown: {
|
| - // Only new installations and profiles get default apps. In theory the
|
| - // new profile checks should catch new installations, but that is not
|
| - // always the case (http:/crbug.com/145351).
|
| + // This is the first time the default apps feature runs on this profile.
|
| + // Determine if we want to install them or not.
|
| chrome::VersionInfo version_info;
|
| - bool is_new_profile =
|
| - profile_->WasCreatedByVersionOrLater(version_info.Version().c_str());
|
| - bool is_first_run = first_run::IsChromeFirstRun();
|
| - if (!is_first_run && !is_new_profile)
|
| + if (!profile_->WasCreatedByVersionOrLater(version_info.Version().c_str()))
|
| install_apps = false;
|
| break;
|
| }
|
|
|