web_setting: Fix coding style violations.
[platform/framework/web/tizen-extensions-crosswalk.git] / web_setting / web_setting.h
1 // Copyright (c) 2014 Samsung Electronics Co., Ltd. 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.
4
5 #ifndef WEB_SETTING_WEB_SETTING_H_
6 #define WEB_SETTING_WEB_SETTING_H_
7
8 #include <gio/gio.h>
9 #include <memory>
10 #include <string>
11
12 #include "common/picojson.h"
13
14 class WebSetting {
15  public:
16   explicit WebSetting(const std::string& app_id);
17   ~WebSetting();
18
19   std::unique_ptr<picojson::value> RemoveAllCookies();
20   std::unique_ptr<picojson::value> SetUserAgentString(
21       const std::string& user_agent);
22
23  private:
24   std::string app_id_;
25   GDBusProxy* running_app_proxy_;
26 };
27
28 #endif  // WEB_SETTING_WEB_SETTING_H_