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

Side by Side Diff: chrome/browser/web_applications/web_app_linux.cc

Issue 12321107: Move shell integration code from chrome/browser to apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 (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/web_applications/web_app.h" 5 #include "chrome/browser/web_applications/web_app.h"
6 6
7 #include "apps/shell_integration_linux.h"
7 #include "base/environment.h" 8 #include "base/environment.h"
8 #include "base/logging.h" 9 #include "base/logging.h"
9 #include "chrome/browser/shell_integration_linux.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 11
12 namespace web_app { 12 namespace web_app {
13 13
14 namespace internals { 14 namespace internals {
15 15
16 bool CreatePlatformShortcuts( 16 bool CreatePlatformShortcuts(
17 const base::FilePath& web_app_path, 17 const base::FilePath& web_app_path,
18 const ShellIntegration::ShortcutInfo& shortcut_info) { 18 const ShellIntegration::ShortcutInfo& shortcut_info) {
19 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); 19 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE));
(...skipping 18 matching lines...) Expand all
38 38
39 void UpdatePlatformShortcuts( 39 void UpdatePlatformShortcuts(
40 const base::FilePath& web_app_path, 40 const base::FilePath& web_app_path,
41 const ShellIntegration::ShortcutInfo& shortcut_info) { 41 const ShellIntegration::ShortcutInfo& shortcut_info) {
42 // TODO(benwells): Implement this. 42 // TODO(benwells): Implement this.
43 } 43 }
44 44
45 } // namespace internals 45 } // namespace internals
46 46
47 } // namespace web_app 47 } // namespace web_app
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698