Added 'if ENABLE_EXTENSIONS' guards around the Activity Log invocations
commitc2ac1dda33d812edcacdfd49c314bca13c5dd267
authorfelt@chromium.org <felt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 23 Sep 2013 05:04:56 +0000 (23 05:04 +0000)
committerfelt@chromium.org <felt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 23 Sep 2013 05:04:56 +0000 (23 05:04 +0000)
treee92029648b964852c4522d88c08c1759715b3a12
parent3737194e8d4798725201f02b8c72ae1bb7f381cd
Added 'if ENABLE_EXTENSIONS' guards around the Activity Log invocations

The Activity Log only exists if extensions are enabled. This makes sure that callers never try to fetch it unless extensions are enabled.

BUG=
R=kalman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224673 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/browsing_data/browsing_data_remover.cc
chrome/browser/extensions/tab_helper.cc
chrome/browser/prefs/browser_prefs.cc
chrome/browser/renderer_host/chrome_render_message_filter.cc
chrome/browser/ui/webui/history_ui.cc
chrome/renderer/extensions/dom_activity_logger.cc