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

Side by Side Diff: chrome/browser/extensions/extension_tab_util.h

Issue 1869503004: Convert //tools to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, change iwyu fixes for converted directories to include <memory> Created 4 years, 8 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
OLDNEW
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_EXTENSIONS_EXTENSION_TAB_UTIL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/callback.h" 11 #include "base/callback.h"
11 #include "chrome/common/extensions/api/tabs.h" 12 #include "chrome/common/extensions/api/tabs.h"
12 #include "ui/base/window_open_disposition.h" 13 #include "ui/base/window_open_disposition.h"
13 14
14 class Browser; 15 class Browser;
15 class ChromeExtensionFunctionDetails; 16 class ChromeExtensionFunctionDetails;
16 class ChromeUIThreadExtensionFunction; 17 class ChromeUIThreadExtensionFunction;
17 class ExtensionFunction; 18 class ExtensionFunction;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 static bool OpenOptionsPage(const Extension* extension, Browser* browser); 175 static bool OpenOptionsPage(const Extension* extension, Browser* browser);
175 176
176 // Returns true if the given Browser can report tabs to extensions. 177 // Returns true if the given Browser can report tabs to extensions.
177 // Example of Browsers which don't support tabs include apps and devtools. 178 // Example of Browsers which don't support tabs include apps and devtools.
178 static bool BrowserSupportsTabs(Browser* browser); 179 static bool BrowserSupportsTabs(Browser* browser);
179 }; 180 };
180 181
181 } // namespace extensions 182 } // namespace extensions
182 183
183 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H_ 184 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/log_private/filter_handler.cc ('k') | chrome/browser/extensions/window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698