| OLD | NEW |
| 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_CHROMEOS_EXTENSIONS_DEFAULT_APP_ORDER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_DEFAULT_APP_ORDER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_DEFAULT_APP_ORDER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_DEFAULT_APP_ORDER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/basictypes.h" | 13 #include "base/macros.h" |
| 12 #include "base/synchronization/waitable_event.h" | 14 #include "base/synchronization/waitable_event.h" |
| 13 | 15 |
| 14 namespace chromeos { | 16 namespace chromeos { |
| 15 namespace default_app_order { | 17 namespace default_app_order { |
| 16 | 18 |
| 17 // ExternalLoader checks FILE_DEFAULT_APP_ORDER and loads it if the file | 19 // ExternalLoader checks FILE_DEFAULT_APP_ORDER and loads it if the file |
| 18 // exists. Otherwise, it uses the default built-in order. The file loading runs | 20 // exists. Otherwise, it uses the default built-in order. The file loading runs |
| 19 // asynchronously on start up except for the browser restart path, in which | 21 // asynchronously on start up except for the browser restart path, in which |
| 20 // case, start up will wait for the file check to finish because user profile | 22 // case, start up will wait for the file check to finish because user profile |
| 21 // might need to access the ordinals data. | 23 // might need to access the ordinals data. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 48 // Get the name of OEM apps folder in app launcher. | 50 // Get the name of OEM apps folder in app launcher. |
| 49 std::string GetOemAppsFolderName(); | 51 std::string GetOemAppsFolderName(); |
| 50 | 52 |
| 51 // Number of apps in hard-coded apps order. | 53 // Number of apps in hard-coded apps order. |
| 52 extern const size_t kDefaultAppOrderCount; | 54 extern const size_t kDefaultAppOrderCount; |
| 53 | 55 |
| 54 } // namespace default_app_order | 56 } // namespace default_app_order |
| 55 } // namespace chromeos | 57 } // namespace chromeos |
| 56 | 58 |
| 57 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_DEFAULT_APP_ORDER_H_ | 59 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_DEFAULT_APP_ORDER_H_ |
| OLD | NEW |