| Index: chrome/common/extensions/extension_file_util.cc
 | 
| diff --git a/chrome/common/extensions/extension_file_util.cc b/chrome/common/extensions/extension_file_util.cc
 | 
| index f6d2e22c707a748fa7c70bffd40556f48519cddd..7028bae5f3f679f14ce34cee0c8b4a9489b1a95a 100644
 | 
| --- a/chrome/common/extensions/extension_file_util.cc
 | 
| +++ b/chrome/common/extensions/extension_file_util.cc
 | 
| @@ -26,6 +26,7 @@
 | 
|  #include "chrome/common/extensions/extension_manifest_constants.h"
 | 
|  #include "chrome/common/extensions/extension_messages.h"
 | 
|  #include "chrome/common/extensions/extension_resource.h"
 | 
| +#include "chrome/common/extensions/manifest.h"
 | 
|  #include "chrome/common/extensions/manifest_url_handler.h"
 | 
|  #include "chrome/common/extensions/message_bundle.h"
 | 
|  #include "grit/generated_resources.h"
 | 
| @@ -34,6 +35,7 @@
 | 
|  #include "ui/base/l10n/l10n_util.h"
 | 
|  
 | 
|  using extensions::Extension;
 | 
| +using extensions::Manifest;
 | 
|  
 | 
|  namespace errors = extension_manifest_errors;
 | 
|  
 | 
| @@ -136,7 +138,7 @@ void UninstallExtension(const FilePath& extensions_dir,
 | 
|  }
 | 
|  
 | 
|  scoped_refptr<Extension> LoadExtension(const FilePath& extension_path,
 | 
| -                                       Extension::Location location,
 | 
| +                                       Manifest::Location location,
 | 
|                                         int flags,
 | 
|                                         std::string* error) {
 | 
|    return LoadExtension(extension_path, std::string(), location, flags, error);
 | 
| @@ -144,7 +146,7 @@ scoped_refptr<Extension> LoadExtension(const FilePath& extension_path,
 | 
|  
 | 
|  scoped_refptr<Extension> LoadExtension(const FilePath& extension_path,
 | 
|                                         const std::string& extension_id,
 | 
| -                                       Extension::Location location,
 | 
| +                                       Manifest::Location location,
 | 
|                                         int flags,
 | 
|                                         std::string* error) {
 | 
|    scoped_ptr<DictionaryValue> manifest(LoadManifest(extension_path, error));
 | 
| @@ -164,7 +166,7 @@ scoped_refptr<Extension> LoadExtension(const FilePath& extension_path,
 | 
|    if (!extension.get())
 | 
|      return NULL;
 | 
|  
 | 
| -  Extension::InstallWarningVector warnings;
 | 
| +  extensions::InstallWarning::Vector warnings;
 | 
|    if (!ValidateExtension(extension.get(), error, &warnings))
 | 
|      return NULL;
 | 
|    extension->AddInstallWarnings(warnings);
 | 
| @@ -245,7 +247,7 @@ bool ValidateFilePath(const FilePath& path) {
 | 
|  
 | 
|  bool ValidateExtension(const Extension* extension,
 | 
|                         std::string* error,
 | 
| -                       Extension::InstallWarningVector* warnings) {
 | 
| +                       extensions::InstallWarning::Vector* warnings) {
 | 
|    // Validate icons exist.
 | 
|    for (ExtensionIconSet::IconMap::const_iterator iter =
 | 
|             extension->icons().map().begin();
 | 
| @@ -413,8 +415,8 @@ bool ValidateExtension(const Extension* extension,
 | 
|      }
 | 
|    } else {
 | 
|      for (size_t i = 0; i < private_keys.size(); ++i) {
 | 
| -      warnings->push_back(Extension::InstallWarning(
 | 
| -          Extension::InstallWarning::FORMAT_TEXT,
 | 
| +      warnings->push_back(extensions::InstallWarning(
 | 
| +          extensions::InstallWarning::FORMAT_TEXT,
 | 
|            l10n_util::GetStringFUTF8(
 | 
|                IDS_EXTENSION_CONTAINS_PRIVATE_KEY,
 | 
|                private_keys[i].LossyDisplayName())));
 | 
| 
 |