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

Side by Side Diff: chrome/browser/ui/ash/extension_utils.cc

Issue 10834206: extension_utils: Fix include path and header guards. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « chrome/browser/ui/ash/extension_utils.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/ui/views/ash/extension_utils.h" 5 #include "chrome/browser/ui/ash/extension_utils.h"
6 6
7 #include "chrome/browser/event_disposition.h" 7 #include "chrome/browser/event_disposition.h"
8 #include "chrome/browser/extensions/extension_prefs.h" 8 #include "chrome/browser/extensions/extension_prefs.h"
9 #include "chrome/browser/extensions/extension_service.h" 9 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/extensions/application_launch.h" 11 #include "chrome/browser/ui/extensions/application_launch.h"
12 #include "chrome/common/extensions/extension.h" 12 #include "chrome/common/extensions/extension.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 14
15 namespace extension_utils { 15 namespace extension_utils {
(...skipping 21 matching lines...) Expand all
37 profile->GetExtensionService()->extension_prefs()->GetLaunchContainer( 37 profile->GetExtensionService()->extension_prefs()->GetLaunchContainer(
38 extension, extensions::ExtensionPrefs::LAUNCH_DEFAULT); 38 extension, extensions::ExtensionPrefs::LAUNCH_DEFAULT);
39 disposition = NEW_FOREGROUND_TAB; 39 disposition = NEW_FOREGROUND_TAB;
40 } 40 }
41 41
42 application_launch::OpenApplication(application_launch::LaunchParams( 42 application_launch::OpenApplication(application_launch::LaunchParams(
43 profile, extension, container, disposition)); 43 profile, extension, container, disposition));
44 } 44 }
45 45
46 } // namespace extension_utils 46 } // namespace extension_utils
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/extension_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698