Bug 891986 - Keep the source ArrayBuffer to a decodeAudioData call alive until the...
[gecko.git] / dom / network / src / Constants.h
blobc32278aa4927fc62bbe0facaeb2b4b42e9133f63
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef mozilla_dom_network_Constants_h__
7 #define mozilla_dom_network_Constants_h__
9 /**
10 * A set of constants to be used by network backends.
12 namespace mozilla {
13 namespace dom {
14 namespace network {
16 static const double kDefaultBandwidth = -1.0;
17 static const bool kDefaultCanBeMetered = false;
18 static const bool kDefaultIsWifi = false;
19 static const uint32_t kDefaultDHCPGateway = 0;
21 } // namespace network
22 } // namespace dom
23 } // namespace mozilla
25 #endif // mozilla_dom_network_Constants_h__