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

Side by Side Diff: chrome/browser/ui/views/ash/extension_utils.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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_UI_VIEWS_ASH_EXTENSION_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_EXTENSION_UTILS_H_
6 #define CHROME_BROWSER_UI_VIEWS_ASH_EXTENSION_UTILS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ASH_EXTENSION_UTILS_H_
7 #pragma once 7 #pragma once
8 8
9 class Profile; 9 class Profile;
10
11 namespace extensions {
10 class Extension; 12 class Extension;
13 }
11 14
12 namespace extension_utils { 15 namespace extension_utils {
13 16
14 // Opens an extension. |event_flags| holds the flags of the event 17 // Opens an extension. |event_flags| holds the flags of the event
15 // which triggered this extension. 18 // which triggered this extension.
16 void OpenExtension(Profile* profile, 19 void OpenExtension(Profile* profile,
17 const Extension* extension, 20 const extensions::Extension* extension,
18 int event_flags); 21 int event_flags);
19 22
20 } // namespace extension_utils 23 } // namespace extension_utils
21 24
22 #endif // CHROME_BROWSER_UI_VIEWS_ASH_EXTENSION_UTILS_H_ 25 #endif // CHROME_BROWSER_UI_VIEWS_ASH_EXTENSION_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/ash/app_list/extension_app_item.cc ('k') | chrome/browser/ui/views/ash/extension_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698