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

Side by Side Diff: chrome/browser/automation/automation_browser_tracker.cc

Issue 5783004: Keep deinlining stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Well, it all compiles locally? Created 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/automation/automation_browser_tracker.h"
6
7 #include "chrome/common/notification_source.h"
8
9 AutomationBrowserTracker::AutomationBrowserTracker(
10 IPC::Message::Sender* automation)
11 : AutomationResourceTracker<Browser*>(automation) {
12 }
13
14 AutomationBrowserTracker::~AutomationBrowserTracker() {}
15
16 void AutomationBrowserTracker::AddObserver(Browser* resource) {
17 registrar_.Add(this, NotificationType::BROWSER_CLOSED,
18 Source<Browser>(resource));
19 }
20
21 void AutomationBrowserTracker::RemoveObserver(Browser* resource) {
22 registrar_.Remove(this, NotificationType::BROWSER_CLOSED,
23 Source<Browser>(resource));
24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698