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

Side by Side Diff: chrome/browser/chromeos/extensions/default_app_order.cc

Issue 2777093003: cros: Remove obsolete default apps (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | 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/chromeos/extensions/default_app_order.h" 5 #include "chrome/browser/chromeos/extensions/default_app_order.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 27 matching lines...) Expand all
38 38
39 const char* const kDefaultAppOrder[] = { 39 const char* const kDefaultAppOrder[] = {
40 extension_misc::kChromeAppId, 40 extension_misc::kChromeAppId,
41 arc::kPlayStoreAppId, 41 arc::kPlayStoreAppId,
42 extensions::kWebStoreAppId, 42 extensions::kWebStoreAppId,
43 "nplnnjkbeijcggmpdcecpabgbjgeiedc", // Play Games 43 "nplnnjkbeijcggmpdcecpabgbjgeiedc", // Play Games
44 genius_app::kGeniusAppId, 44 genius_app::kGeniusAppId,
45 extension_misc::kYoutubeAppId, 45 extension_misc::kYoutubeAppId,
46 extension_misc::kGmailAppId, 46 extension_misc::kGmailAppId,
47 "ejjicmeblgpmajnghnpcppodonldlgfn", // Calendar 47 "ejjicmeblgpmajnghnpcppodonldlgfn", // Calendar
48 "kjebfhglflhjjjiceimfkgicifkhjlnm", // Scratchpad
49 "lneaknkopdijkpnocmklfnjbeapigfbh", // Google Maps 48 "lneaknkopdijkpnocmklfnjbeapigfbh", // Google Maps
50 "apdfllckaahabafndbhieahigkjlhalf", // Drive 49 "apdfllckaahabafndbhieahigkjlhalf", // Drive
51 extension_misc::kGoogleDocAppId, 50 extension_misc::kGoogleDocAppId,
52 extension_misc::kGoogleSheetsAppId, 51 extension_misc::kGoogleSheetsAppId,
53 extension_misc::kGoogleSlidesAppId, 52 extension_misc::kGoogleSlidesAppId,
54 "dlppkpafhbajpcmmoheippocdidnckmm", // Google+ 53 "dlppkpafhbajpcmmoheippocdidnckmm", // Google+
55 "hcglmfcclpfgljeaiahehebeoaiicbko", // Google Photos 54 "hcglmfcclpfgljeaiahehebeoaiicbko", // Google Photos
56 "hhaomjibdihmijegdhdafkllkbggdgoj", // Files 55 "hhaomjibdihmijegdhdafkllkbggdgoj", // Files
57 extension_misc::kGooglePlayMusicAppId, 56 extension_misc::kGooglePlayMusicAppId,
58 "mmimngoggfoobjdlefbcabngfnmieonb", // Play Books 57 "mmimngoggfoobjdlefbcabngfnmieonb", // Play Books
59 "gdijeikdkaembjbdobgfkoidjkpbmlkd", // Play Movies & TV 58 "gdijeikdkaembjbdobgfkoidjkpbmlkd", // Play Movies & TV
60 "fobcpibfeplaikcclojfdhfdmbbeofai", // Games
61 "joodangkbfjnajiiifokapkpmhfnpleo", // Calculator 59 "joodangkbfjnajiiifokapkpmhfnpleo", // Calculator
62 "hfhhnacclhffhdffklopdkcgdhifgngh", // Camera 60 "hfhhnacclhffhdffklopdkcgdhifgngh", // Camera
63 "gbchcmhmhahfdphkhkmpfmihenigjmpp", // Chrome Remote Desktop 61 "gbchcmhmhahfdphkhkmpfmihenigjmpp", // Chrome Remote Desktop
64 }; 62 };
65 63
66 // Reads external ordinal json file and returned the parsed value. Returns NULL 64 // Reads external ordinal json file and returned the parsed value. Returns NULL
67 // if the file does not exist or could not be parsed properly. Caller takes 65 // if the file does not exist or could not be parsed properly. Caller takes
68 // ownership of the returned value. 66 // ownership of the returned value.
69 std::unique_ptr<base::ListValue> ReadExternalOrdinalFile( 67 std::unique_ptr<base::ListValue> ReadExternalOrdinalFile(
70 const base::FilePath& path) { 68 const base::FilePath& path) {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 std::string GetOemAppsFolderName() { 204 std::string GetOemAppsFolderName() {
207 // |loader_instance| could be NULL for test. 205 // |loader_instance| could be NULL for test.
208 if (!loader_instance) 206 if (!loader_instance)
209 return std::string(); 207 return std::string();
210 else 208 else
211 return loader_instance->GetOemAppsFolderName(); 209 return loader_instance->GetOemAppsFolderName();
212 } 210 }
213 211
214 } // namespace default_app_order 212 } // namespace default_app_order
215 } // namespace chromeos 213 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698