| Index: chrome/browser/extensions/pending_extension_manager.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/pending_extension_manager.cc (revision 152351)
|
| +++ chrome/browser/extensions/pending_extension_manager.cc (working copy)
|
| @@ -4,8 +4,6 @@
|
|
|
| #include "chrome/browser/extensions/pending_extension_manager.h"
|
|
|
| -#include <algorithm>
|
| -
|
| #include "base/logging.h"
|
| #include "base/stl_util.h"
|
| #include "base/version.h"
|
| @@ -14,6 +12,8 @@
|
| #include "chrome/common/extensions/extension.h"
|
| #include "content/public/browser/browser_thread.h"
|
|
|
| +#include <algorithm>
|
| +
|
| using content::BrowserThread;
|
|
|
| namespace {
|
| @@ -73,18 +73,6 @@
|
| return false;
|
| }
|
|
|
| -bool PendingExtensionManager::HasPendingExtensionFromSync() const {
|
| - PendingExtensionList::const_iterator iter;
|
| - for (iter = pending_extension_list_.begin();
|
| - iter != pending_extension_list_.end();
|
| - ++iter) {
|
| - if (iter->is_from_sync())
|
| - return true;
|
| - }
|
| -
|
| - return false;
|
| -}
|
| -
|
| bool PendingExtensionManager::AddFromSync(
|
| const std::string& id,
|
| const GURL& update_url,
|
|
|