Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: apps/shell/browser/shell_content_browser_client.h

Issue 333353005: Move OmahaQueryParams to a component and add a delegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 APPS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef APPS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define APPS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define APPS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/public/browser/content_browser_client.h" 9 #include "content/public/browser/content_browser_client.h"
10 10
11 class GURL; 11 class GURL;
12 class OmahaQueryParamsDelegate;
12 13
13 namespace content { 14 namespace content {
14 class BrowserContext; 15 class BrowserContext;
15 } 16 }
16 17
17 namespace extensions { 18 namespace extensions {
18 class Extension; 19 class Extension;
19 } 20 }
20 21
21 namespace apps { 22 namespace apps {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Returns the extension or app associated with |site_instance| or NULL. 63 // Returns the extension or app associated with |site_instance| or NULL.
63 const extensions::Extension* GetExtension( 64 const extensions::Extension* GetExtension(
64 content::SiteInstance* site_instance); 65 content::SiteInstance* site_instance);
65 66
66 // Owned by content::BrowserMainLoop. 67 // Owned by content::BrowserMainLoop.
67 ShellBrowserMainParts* browser_main_parts_; 68 ShellBrowserMainParts* browser_main_parts_;
68 69
69 // Owned by ShellBrowserMainParts. 70 // Owned by ShellBrowserMainParts.
70 ShellBrowserMainDelegate* browser_main_delegate_; 71 ShellBrowserMainDelegate* browser_main_delegate_;
71 72
73 scoped_ptr<OmahaQueryParamsDelegate> omaha_query_params_delegate_;
74
72 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); 75 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient);
73 }; 76 };
74 77
75 } // namespace apps 78 } // namespace apps
76 79
77 #endif // APPS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 80 #endif // APPS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698