Ignore title parameter for navigator.registerProtocolHandler
[chromium-blink-merge.git] / mojo / public / cpp / environment / environment.h
blobdf293ae0137847dedc5c70eaf0d9667c86c42451
1 // Copyright 2014 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 #ifndef MOJO_PUBLIC_CPP_ENVIRONMENT_ENVIRONMENT_H_
6 #define MOJO_PUBLIC_CPP_ENVIRONMENT_ENVIRONMENT_H_
8 #include "mojo/public/cpp/system/macros.h"
10 namespace mojo {
12 // This class must be instantiated before using any Mojo APIs.
13 class Environment {
14 public:
15 Environment();
16 ~Environment();
18 private:
19 class Data;
21 // Environment implementation can use this to store state.
22 Data* data_;
24 MOJO_DISALLOW_COPY_AND_ASSIGN(Environment);
27 } // namespace mojo
29 #endif // MOJO_PUBLIC_CPP_ENVIRONMENT_ENVIRONMENT_H_