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

Side by Side Diff: chrome/browser/plugins/plugin_installer_observer.cc

Issue 10933044: Move chrome/browser/plugin_* to chrome/browser/plugins/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@remove_plugin_group
Patch Set: . Created 8 years, 3 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/plugin_installer_observer.h" 5 #include "chrome/browser/plugins/plugin_installer_observer.h"
6 6
7 #include "chrome/browser/plugin_installer.h" 7 #include "chrome/browser/plugins/plugin_installer.h"
8 8
9 PluginInstallerObserver::PluginInstallerObserver(PluginInstaller* installer) 9 PluginInstallerObserver::PluginInstallerObserver(PluginInstaller* installer)
10 : installer_(installer) { 10 : installer_(installer) {
11 installer->AddObserver(this); 11 installer->AddObserver(this);
12 } 12 }
13 13
14 PluginInstallerObserver::~PluginInstallerObserver() { 14 PluginInstallerObserver::~PluginInstallerObserver() {
15 installer_->RemoveObserver(this); 15 installer_->RemoveObserver(this);
16 } 16 }
17 17
(...skipping 13 matching lines...) Expand all
31 PluginInstaller* installer) : PluginInstallerObserver(installer) { 31 PluginInstaller* installer) : PluginInstallerObserver(installer) {
32 installer->AddWeakObserver(this); 32 installer->AddWeakObserver(this);
33 } 33 }
34 34
35 WeakPluginInstallerObserver::~WeakPluginInstallerObserver() { 35 WeakPluginInstallerObserver::~WeakPluginInstallerObserver() {
36 installer()->RemoveWeakObserver(this); 36 installer()->RemoveWeakObserver(this);
37 } 37 }
38 38
39 void WeakPluginInstallerObserver::OnlyWeakObserversLeft() { 39 void WeakPluginInstallerObserver::OnlyWeakObserversLeft() {
40 } 40 }
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_installer_observer.h ('k') | chrome/browser/plugins/plugin_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698