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

Unified Diff: chrome/browser/extensions/extension_browsertest.cc

Issue 102103005: Move c/c/e/extension_set to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_browsertest.cc
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc
index 863906f5de420e1985de16691a1aebf76115e2d6..014783f516a7d2a16655e1fecfc6e02de23d008e 100644
--- a/chrome/browser/extensions/extension_browsertest.cc
+++ b/chrome/browser/extensions/extension_browsertest.cc
@@ -34,7 +34,6 @@
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/chrome_version_info.h"
-#include "chrome/common/extensions/extension_set.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
@@ -43,6 +42,7 @@
#include "content/public/browser/render_view_host.h"
#include "content/public/test/browser_test_utils.h"
#include "extensions/common/constants.h"
+#include "extensions/common/extension_set.h"
#include "sync/api/string_ordinal.h"
#if defined(OS_CHROMEOS)
@@ -80,10 +80,10 @@ Profile* ExtensionBrowserTest::profile() {
// static
const Extension* ExtensionBrowserTest::GetExtensionByPath(
- const ExtensionSet* extensions, const base::FilePath& path) {
+ const extensions::ExtensionSet* extensions, const base::FilePath& path) {
base::FilePath extension_path = base::MakeAbsoluteFilePath(path);
EXPECT_TRUE(!extension_path.empty());
- for (ExtensionSet::const_iterator iter = extensions->begin();
+ for (extensions::ExtensionSet::const_iterator iter = extensions->begin();
iter != extensions->end(); ++iter) {
if ((*iter)->path() == extension_path) {
return iter->get();
@@ -453,7 +453,8 @@ const Extension* ExtensionBrowserTest::InstallOrUpdateExtension(
<< " num after: " << base::IntToString(num_after)
<< " Installed extensions follow:";
- for (ExtensionSet::const_iterator it = service->extensions()->begin();
+ for (extensions::ExtensionSet::const_iterator it =
+ service->extensions()->begin();
it != service->extensions()->end(); ++it)
VLOG(1) << " " << (*it)->id();
« no previous file with comments | « chrome/browser/extensions/extension_browsertest.h ('k') | chrome/browser/extensions/extension_context_menu_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698