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

Side by Side Diff: chrome/browser/extensions/pending_extension_manager.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/logging.h" 5 #include "base/logging.h"
6 #include "base/stl_util-inl.h" 6 #include "base/stl_util.h"
7 #include "chrome/browser/extensions/extension_service.h" 7 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/extensions/pending_extension_manager.h" 8 #include "chrome/browser/extensions/pending_extension_manager.h"
9 #include "chrome/common/extensions/extension.h" 9 #include "chrome/common/extensions/extension.h"
10 #include "content/browser/browser_thread.h" 10 #include "content/browser/browser_thread.h"
11 11
12 namespace { 12 namespace {
13 13
14 // Install predicate used by AddFromExternalUpdateUrl(). 14 // Install predicate used by AddFromExternalUpdateUrl().
15 bool AlwaysInstall(const Extension& extension) { 15 bool AlwaysInstall(const Extension& extension) {
16 return true; 16 return true;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 return true; 149 return true;
150 } 150 }
151 return false; 151 return false;
152 } 152 }
153 153
154 void PendingExtensionManager::AddForTesting( 154 void PendingExtensionManager::AddForTesting(
155 const std::string& id, 155 const std::string& id,
156 const PendingExtensionInfo& pending_extension_info) { 156 const PendingExtensionInfo& pending_extension_info) {
157 pending_extension_map_[id] = pending_extension_info; 157 pending_extension_map_[id] = pending_extension_info;
158 } 158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698