#include "chrome/browser/chromeos/login/existing_user_controller.h"
#include "chrome/browser/chromeos/login/login_display_host_impl.h"
#include "chrome/browser/chromeos/policy/app_pack_updater.h"
#include "chrome/browser/chromeos/login/existing_user_controller.h"
#include "chrome/browser/chromeos/login/login_display_host_impl.h"
#include "chrome/browser/chromeos/policy/app_pack_updater.h"
#include "chrome/common/extensions/extension_file_util.h"
#include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
#include "chromeos/login/login_state.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "chrome/common/extensions/extension_file_util.h"
#include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
#include "chromeos/login/login_state.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
const base::DictionaryValue* original_manifest,
const Extension* extension,
const SkBitmap& install_icon) OVERRIDE;
const base::DictionaryValue* original_manifest,
const Extension* extension,
const SkBitmap& install_icon) OVERRIDE;
LOG(ERROR) << "Couldn't unpack screensaver extension. Error: " << error;
NotifyAppPackOfDamagedFile();
}
LOG(ERROR) << "Couldn't unpack screensaver extension. Error: " << error;
NotifyAppPackOfDamagedFile();
}
- policy::BrowserPolicyConnector* connector =
- g_browser_process->browser_policy_connector();
+ policy::BrowserPolicyConnectorChromeOS* connector =
+ g_browser_process->platform_part()->browser_policy_connector_chromeos();
policy::AppPackUpdater* updater = connector->GetAppPackUpdater();
if (updater)
updater->OnDamagedFileDetected(crx_path_);
policy::AppPackUpdater* updater = connector->GetAppPackUpdater();
if (updater)
updater->OnDamagedFileDetected(crx_path_);