Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Paste mock data here | |
| 2 chrome.mock({ | |
| 3 "getApps": [ | |
| 4 { | |
| 5 "appPageNames": [ | |
| 6 "Apps" | |
| 7 ], | |
| 8 "apps": [ | |
| 9 { | |
| 10 "app_launch_ordinal": "n", | |
| 11 "description": "Web Store", | |
| 12 "direction": "ltr", | |
| 13 "enabled": true, | |
| 14 "homepageUrl": "", | |
| 15 "icon_big": "chrome://extension-icon/ahfgeienlihckogmohjhadlkjgocpleb/ 128/1", | |
| 16 "icon_big_exists": false, | |
| 17 "icon_small": "chrome://extension-icon/ahfgeienlihckogmohjhadlkjgocple b/16/1", | |
| 18 "icon_small_exists": false, | |
| 19 "id": "ahfgeienlihckogmohjhadlkjgocpleb", | |
| 20 "is_component": true, | |
| 21 "is_webstore": true, | |
| 22 "launch_container": 2, | |
| 23 "launch_type": 1, | |
| 24 "mayDisable": false, | |
| 25 "name": "Chrome Web Store", | |
| 26 "notifications_disabled": false, | |
| 27 "offlineEnabled": false, | |
| 28 "optionsUrl": "", | |
| 29 "page_index": 0, | |
| 30 "title": "Chrome Web Store", | |
| 31 "url": "https://chrome.google.com/webstore", | |
| 32 "version": "0.1" | |
| 33 } | |
| 34 ], | |
| 35 "showLauncher": false, | |
| 36 "showPromo": false | |
| 37 } | |
| 38 ], | |
| 39 "getRecentlyClosedTabs": [ | |
| 40 [ | |
| 41 { | |
| 42 "sessionId": 2, | |
| 43 "tabs": [ | |
| 44 { | |
| 45 "direction": "ltr", | |
| 46 "timestamp": 0, | |
| 47 "title": "YouTube - Broadcast Yourself.", | |
| 48 "type": "tab", | |
| 49 "url": "http://www.youtube.com/" | |
|
jeremycho_google
2012/07/31 03:09:16
Drop the 'www' for all of these to match mockedThu
pedrosimonetti2
2012/08/03 18:14:01
See comment on the other CL.
On 2012/07/31 03:09:
| |
| 50 }, | |
| 51 { | |
| 52 "direction": "ltr", | |
| 53 "timestamp": 0, | |
| 54 "title": "CNN.com - Breaking News, U.S., World, Weather, Entertainme nt & Video News", | |
| 55 "type": "tab", | |
| 56 "url": "http://www.cnn.com/" | |
| 57 } | |
| 58 ], | |
| 59 "timestamp": 1343253129.824551, | |
| 60 "type": "window" | |
| 61 }, | |
| 62 { | |
| 63 "direction": "ltr", | |
| 64 "sessionId": 1, | |
| 65 "timestamp": 1343253127.485749, | |
| 66 "title": "Electronics, Cars, Fashion, Collectibles, Coupons and More Onl ine Shopping | eBay", | |
| 67 "type": "tab", | |
| 68 "url": "http://www.ebay.com/" | |
| 69 } | |
| 70 ] | |
| 71 ], | |
| 72 "getMostVisited": [ | |
| 73 [ | |
| 74 { | |
| 75 "direction": "ltr", | |
| 76 "title": "Wikipedia", | |
| 77 "url": "http://www.wikipedia.org/" | |
| 78 }, | |
| 79 { | |
| 80 "direction": "ltr", | |
| 81 "title": "deviantART: where ART meets application!", | |
| 82 "url": "http://www.deviantart.com/" | |
| 83 }, | |
| 84 { | |
| 85 "direction": "ltr", | |
| 86 "title": "WEFUNK Radio - Hip-Hop & The Original Funk", | |
| 87 "url": "http://wefunkradio.com/" | |
| 88 }, | |
| 89 { | |
| 90 "direction": "ltr", | |
| 91 "title": "YouTube - Broadcast Yourself.", | |
| 92 "url": "http://youtube.com/" | |
| 93 }, | |
| 94 { | |
| 95 "direction": "ltr", | |
| 96 "title": "Amazon.com: Online Shopping for Electronics, Apparel, Computer s, Books, DVDs & more", | |
| 97 "url": "http://amazon.com/" | |
| 98 }, | |
| 99 { | |
| 100 "direction": "ltr", | |
| 101 "title": "The New York Times - Breaking News, World News & Multimedia", | |
| 102 "url": "http://nytimes.com/" | |
| 103 }, | |
| 104 { | |
| 105 "direction": "ltr", | |
| 106 "title": "Hacker News", | |
| 107 "url": "http://news.ycombinator.com/" | |
| 108 }, | |
| 109 { | |
| 110 "direction": "ltr", | |
| 111 "title": "CNN.com - Breaking News, U.S., World, Weather, Entertainment & Video News", | |
| 112 "url": "http://cnn.com/" | |
| 113 }, | |
| 114 { | |
| 115 "direction": "ltr", | |
| 116 "title": "Electronics, Cars, Fashion, Collectibles, Coupons and More Onl ine Shopping | eBay", | |
| 117 "url": "http://ebay.com/" | |
| 118 }, | |
| 119 { | |
| 120 "direction": "ltr", | |
| 121 "title": "Welcome to Chromium", | |
| 122 "url": "http://www.google.com/chrome/intl/en/welcome.html" | |
| 123 }, | |
| 124 { | |
| 125 "direction": "ltr", | |
| 126 "title": "Chrome Web Store", | |
| 127 "url": "https://chrome.google.com/webstore?hl=en" | |
| 128 } | |
| 129 ], | |
| 130 false | |
| 131 ], | |
| 132 "__loadTimeData__": { | |
| 133 "anim": true, | |
| 134 "appDefaultPageName": "Apps", | |
| 135 "appInstallHintText": "Add more apps", | |
| 136 "appcreateshortcut": "Create Shortcut", | |
| 137 "appdisablenotifications": "Disable Notifications", | |
| 138 "applaunchtypefullscreen": "Open Full Screen", | |
| 139 "applaunchtypepinned": "Open as Pinned Tab", | |
| 140 "applaunchtyperegular": "Open as Regular Tab", | |
| 141 "applaunchtypewindow": "Open as Window", | |
| 142 "appoptions": "Options", | |
| 143 "apps_page_id": 2048, | |
| 144 "appuninstall": "Remove from Chromium", | |
| 145 "attributionintro": "Theme created by", | |
| 146 "bookmarkbarattached": false, | |
| 147 "closedwindowmultiple": "$1 Tabs", | |
| 148 "closedwindowsingle": "1 Tab", | |
| 149 "collapseSessionMenuItemText": "Collapse list", | |
| 150 "expandSessionMenuItemText": "Expand list", | |
| 151 "fontfamily": "DejaVu Sans, Arial, sans-serif", | |
| 152 "fontsize": "75%", | |
| 153 "hasattribution": false, | |
| 154 "isSuggestionsPageEnabled": false, | |
| 155 "isSwipeTrackingFromScrollEventsEnabled": false, | |
| 156 "isUserSignedIn": false, | |
| 157 "learnMore": "Learn more", | |
| 158 "learn_more": "Learn more", | |
| 159 "login_status_advanced": "", | |
| 160 "login_status_dismiss": "", | |
| 161 "login_status_message": "", | |
| 162 "login_status_url": "", | |
| 163 "most_visited_page_id": 1024, | |
| 164 "mostvisited": "Most visited", | |
| 165 "otherSessions": "Other devices", | |
| 166 "otherSessionsEmpty": "Access your open tabs on all of your devices.", | |
| 167 "otherSessionsLearnMoreUrl": "http://support.google.com/chrome/bin/answer.py ?answer=185277&hl=en", | |
| 168 "recentlyclosed": "Recently closed", | |
| 169 "removethumbnailtooltip": "Don't show on this page", | |
| 170 "restoreSessionMenuItemText": "Open all", | |
| 171 "restoreThumbnailsShort": "Restore all", | |
| 172 "showApps": true, | |
| 173 "showOtherSessionsMenu": true, | |
| 174 "shown_page_index": 0, | |
| 175 "shown_page_type": 1024, | |
| 176 "suggestions": "Suggested", | |
| 177 "suggestions_page_id": 4096, | |
| 178 "syncLinkText": "Advanced settings", | |
| 179 "syncpromotext": "Sign in to $1", | |
| 180 "textdirection": "ltr", | |
| 181 "themegravity": "", | |
| 182 "thumbnailremovednotification": "Thumbnail removed.", | |
| 183 "title": "New Tab", | |
| 184 "undothumbnailremove": "Undo", | |
| 185 "webStoreLink": "https://chrome.google.com/webstore?hl=en-US", | |
| 186 "webStoreTitle": "Chrome Web Store", | |
| 187 "webStoreTitleShort": "Web Store" | |
| 188 } | |
| 189 }); | |
| 190 | |
| OLD | NEW |