android_webview : Class member variable WeakPtrFactory in proper order.
[chromium-blink-merge.git] / content / browser / power_save_blocker_impl.cc
blob01007ad9afa38a0b00e93939c9da7b0b76653ce4
1 // Copyright (c) 2013 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.
5 #include "content/browser/power_save_blocker_impl.h"
7 namespace content {
9 PowerSaveBlocker::~PowerSaveBlocker() {}
11 // static
12 scoped_ptr<PowerSaveBlocker> PowerSaveBlocker::Create(
13 PowerSaveBlockerType type,
14 const std::string& reason) {
15 return scoped_ptr<PowerSaveBlocker>(new PowerSaveBlockerImpl(type, reason));
18 } // namespace content