| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |    5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 
|    6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |    6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 
|    7  |    7  | 
|    8 #include <stddef.h> |    8 #include <stddef.h> | 
|    9  |    9  | 
|   10 #include <memory> |   10 #include <memory> | 
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   76   GURL GetEffectiveURL(content::BrowserContext* browser_context, |   76   GURL GetEffectiveURL(content::BrowserContext* browser_context, | 
|   77                        const GURL& url) override; |   77                        const GURL& url) override; | 
|   78   bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |   78   bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 
|   79                                const GURL& effective_url) override; |   79                                const GURL& effective_url) override; | 
|   80   bool DoesSiteRequireDedicatedProcess(content::BrowserContext* browser_context, |   80   bool DoesSiteRequireDedicatedProcess(content::BrowserContext* browser_context, | 
|   81                                        const GURL& effective_url) override; |   81                                        const GURL& effective_url) override; | 
|   82   bool ShouldLockToOrigin(content::BrowserContext* browser_context, |   82   bool ShouldLockToOrigin(content::BrowserContext* browser_context, | 
|   83                           const GURL& effective_site_url) override; |   83                           const GURL& effective_site_url) override; | 
|   84   void GetAdditionalWebUISchemes( |   84   void GetAdditionalWebUISchemes( | 
|   85       std::vector<std::string>* additional_schemes) override; |   85       std::vector<std::string>* additional_schemes) override; | 
 |   86   void GetAdditionalWebUIHostsToIgnoreParititionCheck( | 
 |   87       std::vector<std::string>* hosts) override; | 
|   86   bool LogWebUIUrl(const GURL& web_ui_url) const override; |   88   bool LogWebUIUrl(const GURL& web_ui_url) const override; | 
|   87   bool IsHandledURL(const GURL& url) override; |   89   bool IsHandledURL(const GURL& url) override; | 
|   88   bool CanCommitURL(content::RenderProcessHost* process_host, |   90   bool CanCommitURL(content::RenderProcessHost* process_host, | 
|   89                     const GURL& url) override; |   91                     const GURL& url) override; | 
|   90   bool IsIllegalOrigin(content::ResourceContext* resource_context, |   92   bool IsIllegalOrigin(content::ResourceContext* resource_context, | 
|   91                        int child_process_id, |   93                        int child_process_id, | 
|   92                        const GURL& origin) override; |   94                        const GURL& origin) override; | 
|   93   bool ShouldAllowOpenURL(content::SiteInstance* site_instance, |   95   bool ShouldAllowOpenURL(content::SiteInstance* site_instance, | 
|   94                           const GURL& url) override; |   96                           const GURL& url) override; | 
|   95   bool IsSuitableHost(content::RenderProcessHost* process_host, |   97   bool IsSuitableHost(content::RenderProcessHost* process_host, | 
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  337   // Vector of additional ChromeContentBrowserClientParts. |  339   // Vector of additional ChromeContentBrowserClientParts. | 
|  338   // Parts are deleted in the reverse order they are added. |  340   // Parts are deleted in the reverse order they are added. | 
|  339   std::vector<ChromeContentBrowserClientParts*> extra_parts_; |  341   std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 
|  340  |  342  | 
|  341   base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |  343   base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 
|  342  |  344  | 
|  343   DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |  345   DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 
|  344 }; |  346 }; | 
|  345  |  347  | 
|  346 #endif  // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |  348 #endif  // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 
| OLD | NEW |