Remove GetExtensionService calls and replace with PKSF calls through the ExtensionSystem. Extension services were made into ProfileKeyedServices a while ago; this replaces the deprecated calls that ran directly through the Profile object.

This is about half of the total GetExtensionService calls in the codebase, but this CL is already ridiculously large.

BUG= http://code.google.com/p/chromium/issues/detail?id=104095


Review URL: https://chromiumcodereview.appspot.com/11365181

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170497 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/process_management_browsertest.cc b/chrome/browser/extensions/process_management_browsertest.cc
index a5f5a252..eb663337 100644
--- a/chrome/browser/extensions/process_management_browsertest.cc
+++ b/chrome/browser/extensions/process_management_browsertest.cc
@@ -229,6 +229,9 @@
   // We've loaded 5 extensions with background pages, 1 extension without
   // background page, and one isolated app. We expect only 2 unique processes
   // hosting those extensions.
-  EXPECT_GE((size_t) 6, profile->GetExtensionService()->process_map()->size());
+  ExtensionService* service =
+      extensions::ExtensionSystem::Get(profile)->extension_service();
+
+  EXPECT_GE((size_t) 6, service->process_map()->size());
   EXPECT_EQ((size_t) 2, process_ids.size());
 }