Replace lazy-background switch with a manifest entry controlled by the
extension.

BUG=81752
TEST=no

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118784 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/extension_event_router.h b/chrome/browser/extensions/extension_event_router.h
index cc2608d..6624d98 100644
--- a/chrome/browser/extensions/extension_event_router.h
+++ b/chrome/browser/extensions/extension_event_router.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
@@ -144,7 +144,7 @@
 
   // Track of the number of dispatched events that have not yet sent an
   // ACK from the renderer.
-  void IncrementInFlightEvents(const std::string& extension_id);
+  void IncrementInFlightEvents(const Extension* extension);
   std::map<std::string, int> in_flight_events_;
 
   DISALLOW_COPY_AND_ASSIGN(ExtensionEventRouter);