-/*
- Copyright (C) 2014 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
+// Copyright 2014 Samsung Electronics. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
#ifndef CONTENT_BROWSER_CLIENT_EFL
#define CONTENT_BROWSER_CLIENT_EFL
ContentBrowserClientEfl();
virtual BrowserMainParts* CreateBrowserMainParts(
- const MainFunctionParams& parameters) OVERRIDE;
+ const MainFunctionParams& parameters) override;
virtual net::URLRequestContextGetter* CreateRequestContext(
BrowserContext* browser_context,
ProtocolHandlerMap* protocol_handlers,
- URLRequestInterceptorScopedVector request_interceptors) OVERRIDE;
+ URLRequestInterceptorScopedVector request_interceptors) override;
- virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
+ virtual AccessTokenStore* CreateAccessTokenStore() override;
#if defined(OS_TIZEN)
- virtual LocationProvider* OverrideSystemLocationProvider() OVERRIDE;
+ virtual LocationProvider* OverrideSystemLocationProvider() override;
#endif
// Allows the embedder to pass extra command line flags.
// switches::kProcessType will already be set at this point.
virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
- int child_process_id) OVERRIDE;
+ int child_process_id) override;
- virtual void ResourceDispatcherHostCreated() OVERRIDE;
+ virtual void ResourceDispatcherHostCreated() override;
virtual void AllowCertificateError(int render_process_id,
int render_frame_id,
ResourceType resource_type,
bool overridable,
bool strict_enforcement,
+ bool expired_previous_decision,
const base::Callback<void(bool)>& callback,
- CertificateRequestResultType* result) OVERRIDE;
+ CertificateRequestResultType* result) override;
// Asks permission to show desktop notifications.
virtual void RequestDesktopNotificationPermission(const GURL& source_origin,
content::RenderFrameHost* render_frame_host,
- const base::Callback<void(blink::WebNotificationPermission)>& callback) OVERRIDE;
+ const base::Callback<void(blink::WebNotificationPermission)>& callback) override;
// Show a desktop notification. If |worker| is true, the request came from an
// HTML5 web worker, otherwise, it came from a renderer.
const content::ShowDesktopNotificationHostMsgParams& params,
content::RenderFrameHost* render_frame_host,
scoped_ptr<DesktopNotificationDelegate> delegate,
- base::Closure* cancel_callback) OVERRIDE;
+ base::Closure* cancel_callback) override;
virtual bool AllowGetCookie(const GURL& url,
const GURL& first_party,
const net::CookieList& cookie_list,
content::ResourceContext* context,
int render_process_id,
- int render_frame_id) OVERRIDE;
+ int render_frame_id) override;
virtual bool AllowSetCookie(const GURL& url,
const GURL& first_party,
content::ResourceContext* context,
int render_process_id,
int render_frame_id,
- net::CookieOptions* options) OVERRIDE;
+ net::CookieOptions* options) override;
+
+ virtual void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
- virtual void RenderProcessWillLaunch(content::RenderProcessHost* host) OVERRIDE;
+ content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
private:
scoped_ptr<ResourceDispatcherHostDelegateEfl> resource_disp_host_del_efl_;