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

Side by Side Diff: chrome/browser/sxs_linux.h

Issue 297023002: Cleanup: Convert chrome_browser_main_linux.cc to use the blocking thread pool. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.cc ('k') | chrome/browser/sxs_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SXS_LINUX_H_ 5 #ifndef CHROME_BROWSER_SXS_LINUX_H_
6 #define CHROME_BROWSER_SXS_LINUX_H_ 6 #define CHROME_BROWSER_SXS_LINUX_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 9
10 namespace base { 10 namespace base {
11 class FilePath; 11 class FilePath;
12 } 12 }
13 13
14 namespace sxs_linux { 14 namespace sxs_linux {
15 15
16 // Records channel of the running browser in user data dir. This is needed 16 // Records channel of the running browser in user data dir. This is needed
17 // to support a seamless and automatic upgrade from non-side-by-side 17 // to support a seamless and automatic upgrade from non-side-by-side
18 // to side-by-side Linux packages (the latter use different default data dirs). 18 // to side-by-side Linux packages (the latter use different default data dirs).
19 // Must be run on FILE thread. 19 // Must be run on a blocking thread pool.
20 void AddChannelMarkToUserDataDir(); 20 void AddChannelMarkToUserDataDir();
21 21
22 // Returns true if user data dir migration has been requested. 22 // Returns true if user data dir migration has been requested.
23 bool ShouldMigrateUserDataDir() WARN_UNUSED_RESULT; 23 bool ShouldMigrateUserDataDir() WARN_UNUSED_RESULT;
24 24
25 // Migrates user data dir to a side-by-side-compatible one. 25 // Migrates user data dir to a side-by-side-compatible one.
26 // Returns exit code - caller should make the process exit with that code. 26 // Returns exit code - caller should make the process exit with that code.
27 int MigrateUserDataDir() WARN_UNUSED_RESULT; 27 int MigrateUserDataDir() WARN_UNUSED_RESULT;
28 28
29 } // namespace sxs_linux 29 } // namespace sxs_linux
30 30
31 #endif // CHROME_BROWSER_SXS_LINUX_H_ 31 #endif // CHROME_BROWSER_SXS_LINUX_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.cc ('k') | chrome/browser/sxs_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698