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

Unified Diff: ash/session/session_state_observer.cc

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « ash/session/session_state_observer.h ('k') | ash/shelf/app_list_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/session/session_state_observer.cc
diff --git a/ash/session/session_state_observer.cc b/ash/session/session_state_observer.cc
deleted file mode 100644
index 29468c2b38491339bc5ea6838a87d470f7e2f324..0000000000000000000000000000000000000000
--- a/ash/session/session_state_observer.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2013 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 "ash/session/session_state_observer.h"
-
-#include "ash/session/session_state_delegate.h"
-#include "ash/wm_shell.h"
-
-namespace ash {
-
-ScopedSessionStateObserver::ScopedSessionStateObserver(
- SessionStateObserver* observer)
- : observer_(observer) {
- WmShell::Get()->GetSessionStateDelegate()->AddSessionStateObserver(observer_);
-}
-
-ScopedSessionStateObserver::~ScopedSessionStateObserver() {
- if (WmShell::Get()) {
- WmShell::Get()->GetSessionStateDelegate()->RemoveSessionStateObserver(
- observer_);
- }
-}
-
-} // namespace ash
« no previous file with comments | « ash/session/session_state_observer.h ('k') | ash/shelf/app_list_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698