summaryrefslogtreecommitdiffstats
path: root/athena/content/chrome/web_activity_helpers.cc
blob: 8f1c4c08b7025e4610b8a3b7c327a51fd3c2dd1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2014 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.

#include "athena/content/web_activity_helpers.h"

#include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
#include "chrome/browser/extensions/tab_helper.h"

namespace athena {

void AttachWebActivityHelpers(content::WebContents* contents) {
  // TODO(pkotwicz): Call TabHelpers::AttachTabHelpers()
  extensions::ChromeExtensionWebContentsObserver::CreateForWebContents(
      contents);
  extensions::TabHelper::CreateForWebContents(contents);
}

}  // namespace athena