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

Side by Side Diff: chrome/browser/ui/extensions/hosted_app_browser_controller.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_UI_EXTENSIONS_HOSTED_APP_BROWSER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_HOSTED_APP_BROWSER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_HOSTED_APP_BROWSER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_EXTENSIONS_HOSTED_APP_BROWSER_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 class Browser; 12 class Browser;
13 class Profile;
14 13
15 namespace extensions { 14 namespace extensions {
16 15
17 // Class to encapsulate logic to control the browser UI for hosted apps. 16 // Class to encapsulate logic to control the browser UI for hosted apps.
18 class HostedAppBrowserController { 17 class HostedAppBrowserController {
19 public: 18 public:
20 // Indicates whether |browser| is a hosted app browser. 19 // Indicates whether |browser| is a hosted app browser.
21 static bool IsForHostedApp(Browser* browser); 20 static bool IsForHostedApp(Browser* browser);
22 21
23 explicit HostedAppBrowserController(Browser* browser); 22 explicit HostedAppBrowserController(Browser* browser);
(...skipping 18 matching lines...) Expand all
42 Browser* browser_; 41 Browser* browser_;
43 const std::string extension_id_; 42 const std::string extension_id_;
44 bool should_use_web_app_frame_; 43 bool should_use_web_app_frame_;
45 44
46 DISALLOW_COPY_AND_ASSIGN(HostedAppBrowserController); 45 DISALLOW_COPY_AND_ASSIGN(HostedAppBrowserController);
47 }; 46 };
48 47
49 } // namespace extensions 48 } // namespace extensions
50 49
51 #endif // CHROME_BROWSER_UI_EXTENSIONS_HOSTED_APP_BROWSER_CONTROLLER_H_ 50 #endif // CHROME_BROWSER_UI_EXTENSIONS_HOSTED_APP_BROWSER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698