| // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // The following code is generated pseudo-automatically by a non document |
| // tool. Do not change this code unless you know what you are doing. |
| chrome.mock && chrome.mock({ |
| 'getApps': [ |
| { |
| 'appPageNames': [ |
| 'Apps' |
| ], |
| 'apps': [ |
| { |
| 'app_launch_ordinal': 'n', |
| 'description': 'Web Store', |
| 'direction': 'ltr', |
| 'enabled': true, |
| 'homepageUrl': '', |
| 'icon_big': 'chrome://extension-icon/' + |
| 'ahfgeienlihckogmohjhadlkjgocpleb/128/1', |
| 'icon_big_exists': false, |
| 'icon_small': 'chrome://extension-icon/' + |
| 'ahfgeienlihckogmohjhadlkjgocpleb/16/1', |
| 'icon_small_exists': false, |
| 'id': 'ahfgeienlihckogmohjhadlkjgocpleb', |
| 'is_component': true, |
| 'is_webstore': true, |
| 'launch_container': 2, |
| 'launch_type': 1, |
| 'mayDisable': false, |
| 'name': 'Chrome Web Store', |
| 'notifications_disabled': false, |
| 'offlineEnabled': false, |
| 'optionsUrl': '', |
| 'page_index': 0, |
| 'title': 'Chrome Web Store', |
| 'url': 'https://chrome.google.com/webstore', |
| 'version': '0.1' |
| } |
| ], |
| 'showLauncher': false |
| } |
| ], |
| 'getForeignSessions': [ |
| [ |
| { |
| 'collapsed': false, |
| 'deviceType': 'phone', |
| 'modifiedTime': '22 mins ago', |
| 'name': 'Nexus S', |
| 'tag': 'session_sync_some_id', |
| 'windows': [ |
| { |
| 'sessionId': 1, |
| 'tabs': [ |
| { |
| 'direction': 'ltr', |
| 'sessionId': 73, |
| 'timestamp': 12991804155036000, |
| 'title': 'Welcome To RateBeer Mobile - The best place for ' + |
| 'wireless beer', |
| 'type': 'tab', |
| 'url': 'http://www.ratebeer.com/m/default.asp?app=2' |
| } |
| ], |
| 'timestamp': 12991804155036000, |
| 'type': 'window', |
| 'userVisibleTimestamp': '22 mins ago' |
| } |
| ] |
| }, |
| { |
| 'collapsed': false, |
| 'deviceType': 'linux', |
| 'modifiedTime': '24 mins ago', |
| 'name': 'Ubuntu 10.04.3 LTS', |
| 'tag': 'session_sync_some_id', |
| 'windows': [ |
| { |
| 'sessionId': 1, |
| 'tabs': [ |
| { |
| 'direction': 'ltr', |
| 'sessionId': 54, |
| 'timestamp': 12991803969030000, |
| 'title': 'San Francisco Restaurants, Dentists, Bars, Beauty ' + |
| 'Salons, Doctors', |
| 'type': 'tab', |
| 'url': 'http://www.yelp.com/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'sessionId': 58, |
| 'timestamp': 12991803983228000, |
| 'title': 'Google Maps', |
| 'type': 'tab', |
| 'url': 'https://maps.google.com/maps' |
| }, |
| { |
| 'direction': 'ltr', |
| 'sessionId': 62, |
| 'timestamp': 12991804063895000, |
| 'title': 'CNN.com - Breaking News, U.S., World, Weather, ' + |
| 'Entertainment & Video News', |
| 'type': 'tab', |
| 'url': 'http://www.cnn.com/' |
| } |
| ], |
| 'timestamp': 12991804063895000, |
| 'type': 'window', |
| 'userVisibleTimestamp': '24 mins ago' |
| }, |
| { |
| 'sessionId': 44, |
| 'tabs': [ |
| { |
| 'direction': 'ltr', |
| 'sessionId': 45, |
| 'timestamp': 12991804520499000, |
| 'title': 'new_tab.js - Code Search', |
| 'type': 'tab', |
| 'url': 'https://cs.corp.google.com/#chrome/src/chrome/browser' + |
| '/resources/ntp4/new_tab.js&q=setForeignSessions%20' + |
| 'package:%5Echrome$&type=cs&l=539' |
| } |
| ], |
| 'timestamp': 12991804520499000, |
| 'type': 'window', |
| 'userVisibleTimestamp': '16 mins ago' |
| } |
| ] |
| } |
| ], |
| true |
| ], |
| 'getMostVisited': [ |
| [ |
| { |
| 'direction': 'ltr', |
| 'title': 'Wikipedia', |
| 'url': 'http://www.wikipedia.org/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'title': 'deviantART: where ART meets application!', |
| 'url': 'http://www.deviantart.com/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'title': 'WEFUNK Radio - Hip-Hop & The Original Funk', |
| 'url': 'http://wefunkradio.com/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'title': 'YouTube - Broadcast Yourself.', |
| 'url': 'http://youtube.com/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'title': 'Amazon.com: Online Shopping for Electronics, Apparel, ' + |
| 'Computers, Books, DVDs & more', |
| 'url': 'http://amazon.com/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'title': 'The New York Times - Breaking News, World News & Multimedia', |
| 'url': 'http://nytimes.com/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'title': 'Hacker News', |
| 'url': 'http://news.ycombinator.com/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'title': 'CNN.com - Breaking News, U.S., World, Weather, ' + |
| 'Entertainment & Video News', |
| 'url': 'http://cnn.com/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'title': 'Electronics, Cars, Fashion, Collectibles, Coupons ' + |
| 'and More Online Shopping | eBay', |
| 'url': 'http://ebay.com/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'title': 'Welcome to Chromium', |
| 'url': 'http://www.google.com/chrome/intl/en/welcome.html' |
| }, |
| { |
| 'direction': 'ltr', |
| 'title': 'Chrome Web Store', |
| 'url': 'https://chrome.google.com/webstore?hl=en' |
| } |
| ], |
| false |
| ], |
| 'getRecentlyClosedTabs': [ |
| [ |
| { |
| 'sessionId': 2, |
| 'tabs': [ |
| { |
| 'direction': 'ltr', |
| 'timestamp': 0, |
| 'title': 'YouTube - Broadcast Yourself.', |
| 'type': 'tab', |
| 'url': 'http://youtube.com/' |
| }, |
| { |
| 'direction': 'ltr', |
| 'timestamp': 0, |
| 'title': 'CNN.com - Breaking News, U.S., World, Weather, ' + |
| 'Entertainment & Video News', |
| 'type': 'tab', |
| 'url': 'http://cnn.com/' |
| } |
| ], |
| 'timestamp': 1343253129.824551, |
| 'type': 'window' |
| }, |
| { |
| 'direction': 'ltr', |
| 'sessionId': 1, |
| 'timestamp': 1343253127.485749, |
| 'title': 'Electronics, Cars, Fashion, Collectibles, Coupons and ' + |
| 'More Online Shopping | eBay', |
| 'type': 'tab', |
| 'url': 'http://ebay.com/' |
| } |
| ] |
| ], |
| '__loadTimeData__': { |
| 'anim': true, |
| 'appDefaultPageName': 'Apps', |
| 'appInstallHintText': 'Add more apps', |
| 'appcreateshortcut': 'Create Shortcut', |
| 'appdisablenotifications': 'Disable Notifications', |
| 'applaunchtypefullscreen': 'Open Full Screen', |
| 'applaunchtypepinned': 'Open as Pinned Tab', |
| 'applaunchtyperegular': 'Open as Regular Tab', |
| 'applaunchtypewindow': 'Open as Window', |
| 'appoptions': 'Options', |
| 'apps_page_id': 2048, |
| 'appuninstall': 'Remove from Chromium', |
| 'attributionintro': 'Theme created by', |
| 'bookmarkbarattached': false, |
| 'closedwindowmultiple': '$1 Tabs', |
| 'closedwindowsingle': '1 Tab', |
| 'collapseSessionMenuItemText': 'Collapse list', |
| 'expandSessionMenuItemText': 'Expand list', |
| 'fontfamily': 'DejaVu Sans, Arial, sans-serif', |
| 'fontsize': '75%', |
| 'hasattribution': false, |
| 'isSwipeTrackingFromScrollEventsEnabled': false, |
| 'isUserSignedIn': true, |
| 'learnMore': 'Learn more', |
| 'learn_more': 'Learn more', |
| 'login_status_advanced': '', |
| 'login_status_dismiss': '', |
| 'login_status_message': '', |
| 'login_status_url': '', |
| 'most_visited_page_id': 1024, |
| 'mostvisited': 'Most visited', |
| 'otherSessions': 'Other devices', |
| 'otherSessionsEmpty': 'Access your open tabs on all of your devices.', |
| 'otherSessionsLearnMoreUrl': 'http://support.google.com/chrome/bin/' + |
| 'answer.py?answer=185277&hl=en', |
| 'recentlyclosed': 'Recently closed', |
| 'recently_closed_page_id': 5120, |
| 'removethumbnailtooltip': 'Don\'t show on this page', |
| 'restoreSessionMenuItemText': 'Open all', |
| 'restoreThumbnailsShort': 'Restore all', |
| 'showApps': true, |
| 'showOtherSessionsMenu': true, |
| 'shown_page_index': 0, |
| 'shown_page_type': 1024, |
| 'syncLinkText': 'Advanced settings', |
| 'syncpromotext': 'Sign in to $1', |
| 'textdirection': 'ltr', |
| 'themegravity': '', |
| 'thumbnailremovednotification': 'Thumbnail removed.', |
| 'title': 'New Tab', |
| 'undothumbnailremove': 'Undo', |
| 'webStoreLink': 'https://chrome.google.com/webstore?hl=en-US', |
| 'webStoreTitle': 'Chrome Web Store', |
| 'webStoreTitleShort': 'Web Store' |
| } |
| }); |