| 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 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" | 5 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
| 14 #include "chrome/browser/chromeos/gdata/drive_api_parser.h" | |
| 15 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
| 15 #include "chrome/browser/google_apis/drive_api_parser.h" |
| 16 | 16 |
| 17 using content::BrowserThread; | 17 using content::BrowserThread; |
| 18 | 18 |
| 19 namespace gdata { | 19 namespace gdata { |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| 23 // WebApp store URL prefix. | 23 // WebApp store URL prefix. |
| 24 const char kStoreProductUrl[] = "https://chrome.google.com/webstore/"; | 24 const char kStoreProductUrl[] = "https://chrome.google.com/webstore/"; |
| 25 | 25 |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 web_app->app_icons, | 328 web_app->app_icons, |
| 329 web_app->document_icons, | 329 web_app->document_icons, |
| 330 web_store_id, | 330 web_store_id, |
| 331 product_iter->second, // app name. | 331 product_iter->second, // app name. |
| 332 web_app->object_type, | 332 web_app->object_type, |
| 333 web_app->is_primary_selector))); | 333 web_app->is_primary_selector))); |
| 334 } | 334 } |
| 335 } | 335 } |
| 336 | 336 |
| 337 } // namespace gdata | 337 } // namespace gdata |
| OLD | NEW |