X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fxwalk%2Fruntime%2Fbrowser%2Fxwalk_browser_context.h;fp=src%2Fxwalk%2Fruntime%2Fbrowser%2Fruntime_context.h;h=6bf775b906674baade74311c78c4bcbfc222140e;hb=cd8c88ae33a568451d25f62aaa35bcf33252076c;hp=84ea6268a08b0b724a42d232d031dcc066533b2b;hpb=a5108fcda22462462a0c9692e802750284d31512;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/xwalk/runtime/browser/runtime_context.h b/src/xwalk/runtime/browser/xwalk_browser_context.h similarity index 87% rename from src/xwalk/runtime/browser/runtime_context.h rename to src/xwalk/runtime/browser/xwalk_browser_context.h index 84ea626..6bf775b 100644 --- a/src/xwalk/runtime/browser/runtime_context.h +++ b/src/xwalk/runtime/browser/xwalk_browser_context.h @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef XWALK_RUNTIME_BROWSER_RUNTIME_CONTEXT_H_ -#define XWALK_RUNTIME_BROWSER_RUNTIME_CONTEXT_H_ +#ifndef XWALK_RUNTIME_BROWSER_XWALK_BROWSER_CONTEXT_H_ +#define XWALK_RUNTIME_BROWSER_XWALK_BROWSER_CONTEXT_H_ #if defined(OS_ANDROID) #include @@ -38,19 +38,20 @@ namespace xwalk { class RuntimeDownloadManagerDelegate; class RuntimeURLRequestContextGetter; -class RuntimeContext +class XWalkBrowserContext : public content::BrowserContext #if defined(OS_ANDROID) , public visitedlink::VisitedLinkDelegate #endif { public: - RuntimeContext(); - virtual ~RuntimeContext(); + XWalkBrowserContext(); + virtual ~XWalkBrowserContext(); - // Convenience method to returns the RuntimeContext corresponding to the + // Convenience method to returns the XWalkBrowserContext corresponding to the // given WebContents. - static RuntimeContext* FromWebContents(content::WebContents* web_contents); + static XWalkBrowserContext* FromWebContents( + content::WebContents* web_contents); // BrowserContext implementation. virtual base::FilePath GetPath() const OVERRIDE; @@ -97,7 +98,7 @@ class RuntimeContext private: class RuntimeResourceContext; - // Performs initialization of the RuntimeContext while IO is still + // Performs initialization of the XWalkBrowserContext while IO is still // allowed on the current thread. void InitWhileIOAllowed(); @@ -119,9 +120,9 @@ class RuntimeContext PartitionPathContextGetterMap; PartitionPathContextGetterMap context_getters_; - DISALLOW_COPY_AND_ASSIGN(RuntimeContext); + DISALLOW_COPY_AND_ASSIGN(XWalkBrowserContext); }; } // namespace xwalk -#endif // XWALK_RUNTIME_BROWSER_RUNTIME_CONTEXT_H_ +#endif // XWALK_RUNTIME_BROWSER_XWALK_BROWSER_CONTEXT_H_