summaryrefslogtreecommitdiff
path: root/chromium/content/browser/power_save_blocker_impl.cc
blob: 416ddb334c4250057a931cc385990772fb8958a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 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 "content/browser/power_save_blocker_impl.h"

namespace content {

PowerSaveBlocker::~PowerSaveBlocker() {}

// static
scoped_ptr<PowerSaveBlocker> PowerSaveBlocker::Create(
    PowerSaveBlockerType type,
    Reason reason,
    const std::string& description) {
  return scoped_ptr<PowerSaveBlocker>(
      new PowerSaveBlockerImpl(type, reason, description));
}

}  // namespace content