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

Unified Diff: blimp/client/public/contents/blimp_contents_observer.cc

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: blimp/client/public/contents/blimp_contents_observer.cc
diff --git a/blimp/client/public/contents/blimp_contents_observer.cc b/blimp/client/public/contents/blimp_contents_observer.cc
deleted file mode 100644
index edf48fd15c34571bc40ce254ba534e983574014e..0000000000000000000000000000000000000000
--- a/blimp/client/public/contents/blimp_contents_observer.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2016 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 "blimp/client/public/contents/blimp_contents_observer.h"
-
-#include "blimp/client/public/contents/blimp_contents.h"
-
-namespace blimp {
-namespace client {
-
-BlimpContentsObserver::BlimpContentsObserver(BlimpContents* blimp_contents)
- : contents_(blimp_contents) {
- blimp_contents->AddObserver(this);
-}
-
-BlimpContentsObserver::~BlimpContentsObserver() {
- if (contents_)
- contents_->RemoveObserver(this);
-}
-
-void BlimpContentsObserver::BlimpContentsDying() {
- DCHECK(contents_);
- OnContentsDestroyed();
- contents_ = nullptr;
-}
-
-} // namespace client
-} // namespace blimp
« no previous file with comments | « blimp/client/public/contents/blimp_contents_observer.h ('k') | blimp/client/public/contents/blimp_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698