summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos
Commit message (Collapse)AuthorAgeFilesLines
* drive: Simplify DriveFileSystem::UpdateFileByResourceId()satorux@chromium.org2012-09-072-58/+27
| | | | | | | | | | | DriveResourceMetadata::GetEntryInfoByResourceId() was called twice. BUG=143873 TEST=unit_tests Review URL: https://chromiumcodereview.appspot.com/10911132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155404 0039d316-1c4b-4281-b951-d872f2087c98
* Delete images in Photo Editorkaznacheev@chromium.org2012-09-071-1/+9
| | | | | | | | | | First cut of the long awaited feature. There is no undo but there is a (quite out of style) confirmation dialog. BUG=129717 Review URL: https://chromiumcodereview.appspot.com/10909095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155398 0039d316-1c4b-4281-b951-d872f2087c98
* Only import certificates with Web trust from ONC if the user is managed and ↵joaodasilva@chromium.org2012-09-0713-22/+48
| | | | | | | | | | matches the enterprise domain of the device. BUG=chromium-os:33879 Review URL: https://chromiumcodereview.appspot.com/10868076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155390 0039d316-1c4b-4281-b951-d872f2087c98
* Rename elements of the LinkType enum to "kSomething" to avoid naming conflict.nhiroki@chromium.org2012-09-076-72/+72
| | | | | | | | | | Specifically "ALTERNATE" caused a conflict problem on Windows build. BUG=146809 Review URL: https://chromiumcodereview.appspot.com/10918101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155376 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up WeakPtrFactory usage.bryeung@chromium.org2012-09-074-14/+14
| | | | | | | | | | | | TEST=none BUG=none R=satorux@chromium.org Review URL: https://chromiumcodereview.appspot.com/10910115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155347 0039d316-1c4b-4281-b951-d872f2087c98
* Rename GData to Drive in drive_file_system_utilkochi@chromium.org2012-09-0711-81/+81
| | | | | | | | | | | | | | | | | In this CL, the following functions in gdata::util namespace are renamed: * GetGDataMountPointPath() -> GetDriveMountPointPath() * GetGDataMountPointPathAsString() -> GetDriveMountPointPathAsString() * ModifyGDataFileResourceUrl() -> ModifyDriveFileResourceUrl() * IsUnderGDataMountPoint() -> IsUnderDriveMountPoint() * ExtractGDataPath() -> ExtractDrivePath() BUG=137151 TEST=pass all existing tests. TBR=derat@chromium.org, satorux@chromium.org, aa@chromium.org, estade@chromium.org, ahendrickson@chromium.org, ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10905142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155334 0039d316-1c4b-4281-b951-d872f2087c98
* drive: Load metadata at loginhashimoto@chromium.org2012-09-078-9/+65
| | | | | | | | | | | Add DriveFileSystem::StartInitialFeedFetch() and call it during initialization. BUG=145436 TEST=Login with an account with many files uploaded to Google Drive, Clean Google Drive cache (disconnect from the network, open Files.app, move to Google Drive directory, hold Ctrl key and press the gear button on the right-top, click 'Clean Local Cache'), restart the device, open Files.app, move to Google Drive directory, see the fetching is in progress (you will see a text "xxxx files loaded"). Review URL: https://chromiumcodereview.appspot.com/10886044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155316 0039d316-1c4b-4281-b951-d872f2087c98
* Moving google_apis and GaiaClient to src/google_apis.joi@chromium.org2012-09-0735-49/+49
| | | | | | | | | | TBR=mechanicalowners@chromium.org BUG=145584 Review URL: https://chromiumcodereview.appspot.com/10928017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155312 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate FindEntryByPathSync from FindFirstMissingParentDirectory and hence ↵achuith@chromium.org2012-09-073-38/+97
| | | | | | | | | | from DriveFileSystem. BUG=137694,145383 TEST=unit tests. Review URL: https://chromiumcodereview.appspot.com/10911122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155281 0039d316-1c4b-4281-b951-d872f2087c98
* drive: Remove resource_id and md5 parameters from GetFileFromCacheCallbacksatorux@chromium.org2012-09-066-40/+28
| | | | | | | | | | | These parameters are unnecessary, as callers know these values. BUG=146900 TEST=unit_tests Review URL: https://chromiumcodereview.appspot.com/10912133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155269 0039d316-1c4b-4281-b951-d872f2087c98
* Saves full url path to local state if user choose an online wallpaper from ↵bshe@chromium.org2012-09-064-21/+20
| | | | | | | | | | | | new picker ui Saves the full url path so we can support wallpaper sync later. BUG= Review URL: https://chromiumcodereview.appspot.com/10916102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155261 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 155224 - Add is_fullscreen to video updatesbenjhayden@chromium.org2012-09-062-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium/builders/Win%20Aura/builds/21280/steps/ash_unittests/logs/stdio#failure1 [ RUN ] VideoDetectorTest.FullscreenWindow wm\video_detector_unittest.cc(250): error: Value of: observer_->num_invocations() Actual: 0 Expected: 1 wm\video_detector_unittest.cc(251): error: Value of: observer_->num_fullscreens() Actual: 0 Expected: 1 [ FAILED ] VideoDetectorTest.FullscreenWindow (138 ms) This is a re-attempt at http://codereview.chromium.org/10905026/, which ended up being reverted. The crash that caused the revert was actually due to powerd not being able to parse the protobuf correctly. https://gerrit.chromium.org/gerrit/32243/ corrects this issue, so once that CL lands this CL is good to go. I confirmed the combination of CLs works correctly. This is the original CL description: This adds a boolean to the video update message sent to powerd that indicates whether or not the video playing window is fullscreen'd. This is information used in powerd for controlling when to enable/disable keyboard backlights. Specifically if video is playing and fullscreen we assume that the user is doing something like watching a movie so will disable backlight. An additional change that I have made is to convert the message being sent from an int64 to a protobuffer that contains a int64 and a boolean. Currently, since the receiver of this message does not live in the same repo it means that everytime one wants to change the message format there is a small window where bad builds can be generated or one has to land two changes to the other repo, one to add handling of the new message format and then a second one to remove the old format. Converting to a protobuffer means that for common cases this issues are removed. This CL depends on CLs for power_manager (https://gerrit.chromium.org/gerrit/32092/), one for system_api (https://gerrit.chromium.org/gerrit/31916), and a DEPS roll(http://codereview.chromium.org/10915032/). There will be future CLs for power_manager that will use this information and more thourghly tests this code. BUG=chrome-os-partner:9203 TEST=Run updated unittests. Confirm there is no messages in the cros logs about this method being mishandled. Make sure that powerd is not crashing due to protocol buffer processing failing. Review URL: https://chromiumcodereview.appspot.com/10916123 TBR=rharrison@chromium.org Review URL: https://chromiumcodereview.appspot.com/10928037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155232 0039d316-1c4b-4281-b951-d872f2087c98
* Add is_fullscreen to video updatesrharrison@chromium.org2012-09-062-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a re-attempt at http://codereview.chromium.org/10905026/, which ended up being reverted. The crash that caused the revert was actually due to powerd not being able to parse the protobuf correctly. https://gerrit.chromium.org/gerrit/32243/ corrects this issue, so once that CL lands this CL is good to go. I confirmed the combination of CLs works correctly. This is the original CL description: This adds a boolean to the video update message sent to powerd that indicates whether or not the video playing window is fullscreen'd. This is information used in powerd for controlling when to enable/disable keyboard backlights. Specifically if video is playing and fullscreen we assume that the user is doing something like watching a movie so will disable backlight. An additional change that I have made is to convert the message being sent from an int64 to a protobuffer that contains a int64 and a boolean. Currently, since the receiver of this message does not live in the same repo it means that everytime one wants to change the message format there is a small window where bad builds can be generated or one has to land two changes to the other repo, one to add handling of the new message format and then a second one to remove the old format. Converting to a protobuffer means that for common cases this issues are removed. This CL depends on CLs for power_manager (https://gerrit.chromium.org/gerrit/32092/), one for system_api (https://gerrit.chromium.org/gerrit/31916), and a DEPS roll(http://codereview.chromium.org/10915032/). There will be future CLs for power_manager that will use this information and more thourghly tests this code. BUG=chrome-os-partner:9203 TEST=Run updated unittests. Confirm there is no messages in the cros logs about this method being mishandled. Make sure that powerd is not crashing due to protocol buffer processing failing. Review URL: https://chromiumcodereview.appspot.com/10916123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155224 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Include the calibration flag to the incognito session.sadrul@chromium.org2012-09-061-0/+1
| | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/10928028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155207 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up custom wallpaper code path to new wallpaper picker.bshe@chromium.org2012-09-064-77/+190
| | | | | | | | | | | Add setCustomWallpaper private api function to hook up custom wallpaper to new Wallpaper picker BUG=145517 Review URL: https://chromiumcodereview.appspot.com/10890038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155206 0039d316-1c4b-4281-b951-d872f2087c98
* Do not overlay vpn badge on the network icon in tray if the icon is already ↵jennyz@chromium.org2012-09-061-1/+1
| | | | | | | | | | an VPN icon. BUG=143279 Review URL: https://chromiumcodereview.appspot.com/10914110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155197 0039d316-1c4b-4281-b951-d872f2087c98
* Fix login-prompt-visible not being sent.nkostylev@chromium.org2012-09-062-4/+26
| | | | | | | | | | | | * Initialize guard variable that prevents multiple LOGIN_WEBUI_VISIBLE notifications * Add debug logging for login WebUI initialization BUG=chromium-os:34129 TEST=manual, various boot scenarios on lumpy/alex Review URL: https://chromiumcodereview.appspot.com/10919125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155196 0039d316-1c4b-4281-b951-d872f2087c98
* Rename GDataSyncClient to DriveSyncClientkochi@chromium.org2012-09-066-80/+80
| | | | | | | | | | | | | | | | In this CL, * gdata_sync_client.{h,cc} and gdata_sync_client_unittest.cc have been renamed to drive_sync_client* * GDataSyncClient has been renamed to DriveSyncClient. BUG=137151 TEST=pass all existing tests. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10913108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155187 0039d316-1c4b-4281-b951-d872f2087c98
* DriveResourceMetadata::MoveEntryToDirectory cleanup.achuith@chromium.org2012-09-066-339/+370
| | | | | | | | | | | | | | | * DriveResourceMetadata::MoveEntryToDirectory now takes a FilePath instead of a DriveEntry*. * DriveResourceMetadata has a new public method RenameEntry, which does what DriveFileSystem::RenameEntryLocally used to do. RenameEntryLocally now simply calls DriveResourceMetadata::RenameEntry. * DriveFileSystem's MoveEntryToRootDirectoryLocally and OnMoveEntryFromRootDirectoryCompletely are eliminated in favor of one method MoveEntryToDirectory. Both these methods did very similar things. * DriveResourceMetadataTest introduced because MoveEntryToDirectory can no longer be used. This class is a friend of DriveDirectory, and we directly use AddEntry instead. This also eliminates a bunch of repetitive initialization code. All TEST are now TEST_F. * DBTest has been rewritten a bit. Get rid of VerifyDirectoryService. We only check for children of drive/dir3 to ensure that the filesystem has been properly initialized from the database. * DriveResourceMetadata::InitFromDB's callback may not be null. BUG=142048 TEST=unit tests. Review URL: https://chromiumcodereview.appspot.com/10914059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155159 0039d316-1c4b-4281-b951-d872f2087c98
* Rename GDataUplaoder to DriveUploaderkochi@chromium.org2012-09-0616-123/+122
| | | | | | | | | | | | | | | | | | In this CL, * GDataUploader has been renamed to DriveUploader. * GDataUploaderInterface has been renamed to DriveUploaderInterface. * gdata_upload_file_info.{h,cc} have been renamed to drive_upload_file_info.{h,cc} * gdata_uploader.{h,cc} have been renamed to drive_uploader.{h,cc} * mock_gdata_uploader.{h,cc} have been renamed to mock_drive_uploader.{h,cc} * |gdata_path| in UploadFileInfo has been renamed to |drive_path| BUG=137151 TEST=pass all existing tests. TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155135 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Constify some ProfileKeyedBaseFactory methods and all overrides. ↵thestig@chromium.org2012-09-063-7/+7
| | | | | | | | Remove ProfileKeyedBaseFactory::ForceRegisterPrefsForTest() Review URL: https://chromiumcodereview.appspot.com/10908088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155073 0039d316-1c4b-4281-b951-d872f2087c98
* Enable cache custom wallpaper at login screen(for both old and new wallpaper ↵bshe@chromium.org2012-09-052-98/+89
| | | | | | | | | | | | | | | | | manager) This CL does the following: 1. rename fetchWallpaper to OnWallpaperDecoded 2. rename getCustomWallpaperFromCache to getCustomWallpaperFromCache 3. removed CacheWallpaper function 4. Plumb update_wallpaper argument to control if we want to set loaded wallpaper as current wallpaper BUG=145998 Review URL: https://chromiumcodereview.appspot.com/10908036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155025 0039d316-1c4b-4281-b951-d872f2087c98
* drive: Add DriveServiceInterface::OnOperationReadinessChanged()hashimoto@chromium.org2012-09-058-22/+100
| | | | | | | | | | | | | | Add OnOperationReadinessChanged() to initiate operation on startup Remove unused OperationRunner::OnOAuth2RefreshTokenChanged() Add DriveServiceInterface::CanStartOperation(). Even if it is an alias of HasRefreshToken(), it's added since user code should not care about detail of OAuth tokens. BUG=145903 TEST=unit_tests --gtest_filter="GData*" Review URL: https://chromiumcodereview.appspot.com/10909074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155015 0039d316-1c4b-4281-b951-d872f2087c98
* Show vpn icon in uber tray when vpn is connected.jennyz@chromium.org2012-09-051-2/+0
| | | | | | | | BUG=143279 Review URL: https://chromiumcodereview.appspot.com/10908100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155008 0039d316-1c4b-4281-b951-d872f2087c98
* Changing PluginPrefs to use PluginFinder's async interface. Also, making its ↵ibraaaa@google.com2012-09-051-2/+9
| | | | | | | | | | | | | methods doesn't rely on PluginGroup class instead use PluginList's method versions that directly use WebPluginInfo. CL in the series to delete PluginGroup and move hardcoded plugin group definitions to metadata files. BUG=124396 Review URL: https://chromiumcodereview.appspot.com/10872034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154995 0039d316-1c4b-4281-b951-d872f2087c98
* Reland "154847 - Use new wallpaper picker by default"bshe@chromium.org2012-09-054-18/+21
| | | | | | | | | | | | This relands "use new wallpaper picker by default". https://chromiumcodereview.appspot.com/10887015 TBR=ivankr, mihaip, cpu, darin BUG=None Review URL: https://chromiumcodereview.appspot.com/10913084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154988 0039d316-1c4b-4281-b951-d872f2087c98
* Split gdata_util into two fragments (gdata_util, gdata_file_system_util) for ↵nhiroki@chromium.org2012-09-0523-557/+634
| | | | | | | | | | | | | | | | | | moving GData stuffs. Current gdata_util mixes high and low level functions. After splitting - gdata_util contains convenient functions. We plan to use this in Cloud-backed File API. - gdata_file_system_util contains low level functions. BUG=127855 TEST=pass all existing tests TBR=derat@chromium.org, satorux@chromium.org, ben@chromium.org, aa@chromium.org, estade@chromium.org, ahendrickson@chromium.org Review URL: https://chromiumcodereview.appspot.com/10916086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154966 0039d316-1c4b-4281-b951-d872f2087c98
* Move device notification impl out of chrome/browser/media_galleryhongbo.min@intel.com2012-09-051-1/+1
| | | | | | | | | | BUG=145400 TEST=None Review URL: https://chromiumcodereview.appspot.com/10919051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154961 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 154905 - Add is_fullscreen to video updatesnkostylev@chromium.org2012-09-052-4/+5
| | | | | | | | | | | | | | | | | | | | | | Breaks cros_x86, cros_amd64 buildbots: http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/8115 This adds a boolean to the video update message sent to powerd that indicates whether or not the video playing window is fullscreen'd. This is information used in powerd for controlling when to enable/disable keyboard backlights. Specifically if video is playing and fullscreen we assume that the user is doing something like watching a movie so will disable backlight. An additional change that I have made is to convert the message being sent from an int64 to a protobuffer that contains a int64 and a boolean. Currently, since the receiver of this message does not live in the same repo it means that every time one wants to change the message format there is a small window where bad builds can be generated or one has to land two changes to the other repo, one to add handling of the new message format and then a second one to remove the old format. Converting to a protobuffer means that for common cases this issues are removed. This CL depends on CLs for power_manager (https://gerrit.chromium.org/gerrit/32092/), one for system_api (https://gerrit.chromium.org/gerrit/31916), and a DEPS roll(http://codereview.chromium.org/10915032/). There will be future CLs for power_manager that will use this information and test this code. BUG=chrome-os-partner:9203 TEST=Run updated unittests. Confirm there is no messages in the cros logs about this method being mishandled. Review URL: https://chromiumcodereview.appspot.com/10905026 TBR=rharrison@chromium.org Review URL: https://chromiumcodereview.appspot.com/10915089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154952 0039d316-1c4b-4281-b951-d872f2087c98
* Rename GDataProtocolHandler to DriveProtocolHandlerkochi@chromium.org2012-09-053-59/+58
| | | | | | | | | | | | | | | In this CL, * gdata_protocol_handler.{h,cc} have been renamed to drive_protocol_handler.{h,cc}. * GDataProtocolHandler has been renamed to DriveProtocolHandler. * GDataURLRequestJob has been renamed to GDataURLRequestJob. BUG=137151 TEST=pass all existing tests. TBR=ben@chromium.org, willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10905089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154929 0039d316-1c4b-4281-b951-d872f2087c98
* Rename GDataDownloadObserver to DriveDownloadObserverkochi@chromium.org2012-09-055-116/+116
| | | | | | | | | | | | | | | | | In this CL, * gdata_download_observer.{h.cc} have been renamed to drive_download_observer.{h,cc} * GDataDownloadObserver has been renamed to DriveDownloadObserver GDataPathKey is intentionally unchanged since it will break existing data. BUG=137151 TEST=pass all existing tests. TBR=ahendrickson@chromium.org, ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10915082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154920 0039d316-1c4b-4281-b951-d872f2087c98
* Add warning messages for OAuth1 encryption/decryption failures.kochi@chromium.org2012-09-052-17/+42
| | | | | | | | | | | | | | | For making analysis of OAuth1 token failure easier, add some warning messages when it fails to store OAuth1 token/secret. BUG=129348 TEST=none TBR=davemoore@chromium.org Remove redundant initialization of filesystem Review URL: https://chromiumcodereview.appspot.com/10897023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154906 0039d316-1c4b-4281-b951-d872f2087c98
* Add is_fullscreen to video updatesrharrison@chromium.org2012-09-052-5/+4
| | | | | | | | | | | | | | | | This adds a boolean to the video update message sent to powerd that indicates whether or not the video playing window is fullscreen'd. This is information used in powerd for controlling when to enable/disable keyboard backlights. Specifically if video is playing and fullscreen we assume that the user is doing something like watching a movie so will disable backlight. An additional change that I have made is to convert the message being sent from an int64 to a protobuffer that contains a int64 and a boolean. Currently, since the receiver of this message does not live in the same repo it means that every time one wants to change the message format there is a small window where bad builds can be generated or one has to land two changes to the other repo, one to add handling of the new message format and then a second one to remove the old format. Converting to a protobuffer means that for common cases this issues are removed. This CL depends on CLs for power_manager (https://gerrit.chromium.org/gerrit/32092/), one for system_api (https://gerrit.chromium.org/gerrit/31916), and a DEPS roll(http://codereview.chromium.org/10915032/). There will be future CLs for power_manager that will use this information and test this code. BUG=chrome-os-partner:9203 TEST=Run updated unittests. Confirm there is no messages in the cros logs about this method being mishandled. Review URL: https://chromiumcodereview.appspot.com/10905026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154905 0039d316-1c4b-4281-b951-d872f2087c98
* Convert public CrackFileSystem() from FileSystemUtil to private static ↵calvinlo@chromium.org2012-09-051-5/+3
| | | | | | | | | | | helper function in FileSystemURL. Previous callers should use FileSystemURL constructor instead. BUG=144088 Review URL: https://chromiumcodereview.appspot.com/10916049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154903 0039d316-1c4b-4281-b951-d872f2087c98
* Histogram - add check for external LinearHistogram data with mismatching range.hshi@chromium.org2012-09-051-1/+10
| | | | | | | | | | | | | | This adds an extra step of validation for LinearHistogram data (also known as enum data) coming from an external data source: if a histogram already exists for the specified name but the range of the new data does not match the existing histogram, then discard the new data to prevent crashing chrome. BUG=143714 Review URL: https://chromiumcodereview.appspot.com/10917080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154887 0039d316-1c4b-4281-b951-d872f2087c98
* drive: Return GDATA_NOT_READY status when AuthService cannot start ↵hashimoto@chromium.org2012-09-052-1/+2
| | | | | | | | | | | | | | authentication Add GDATA_NOT_READY error code. To report the situation clearly, return GDATA_NOT_READY from gdata::AuthService::StartAuthentication when its refresh token is not ready. BUG=145903 TEST=unit_test --gtest_filter="Drive*" Review URL: https://chromiumcodereview.appspot.com/10911026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154871 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 154847 - Use new wallpaper picker by defaultrsesek@chromium.org2012-09-044-21/+18
| | | | | | | | | | | | | | | Broke Linux and CrOS compile Enables new wallpaper picker by default. BUG=None Review URL: https://chromiumcodereview.appspot.com/10887015 TBR=bshe@chromium.org Review URL: https://chromiumcodereview.appspot.com/10914084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154848 0039d316-1c4b-4281-b951-d872f2087c98
* Use new wallpaper picker by defaultbshe@chromium.org2012-09-044-18/+21
| | | | | | | | | | Enables new wallpaper picker by default. BUG=None Review URL: https://chromiumcodereview.appspot.com/10887015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154847 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 131706 - Make idle logout window not cause the app list to disappear.rkc@chromium.org2012-09-041-10/+2
| | | | | | | | | | | | This is causing the idle logout window to now appear on the side of the screen when the apps list is up. Original review URL: https://chromiumcodereview.appspot.com/10031050 BUG=144331 TEST=Idle logout dialog shows up in the middle of the screen whether the apps list is up or not. TBR=rkc@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154820 0039d316-1c4b-4281-b951-d872f2087c98
* events: Move some files into ui/base/events/sadrul@chromium.org2012-09-046-6/+6
| | | | | | | | | BUG=none TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10917075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154817 0039d316-1c4b-4281-b951-d872f2087c98
* Add benwells and jeremya as extensions ownersbenwells@chromium.org2012-09-041-2/+2
| | | | | | | | | BUG=None Review URL: https://chromiumcodereview.appspot.com/10926002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154812 0039d316-1c4b-4281-b951-d872f2087c98
* Fix preedit handling on IME switching.nona@chromium.org2012-09-042-2/+16
| | | | | | | | | | | | | | This is hack for Korean IME which required to commit preedit when it is disabled or switched to other IME. The root of the problem is that, in ChromeOS, if the next engine is xkb layout, SetGlobalEngine is not called. Due to this logic, ibus-daemon can't know the ime switching. As the result, IBusPreeditFocusMode does not work. BUG=chrome-os-partner:12798 TEST=Manually done on lumpy Review URL: https://chromiumcodereview.appspot.com/10917061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154802 0039d316-1c4b-4281-b951-d872f2087c98
* drive: Use CreateRelayCallback() in auth_service.cc to simplify codehashimoto@chromium.org2012-09-032-25/+17
| | | | | | | | | | BUG=None TEST=unit_tests --gtest_filter="Drive*" Review URL: https://chromiumcodereview.appspot.com/10914030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154717 0039d316-1c4b-4281-b951-d872f2087c98
* Implement two new policies to control muting the audio I/O.pastarmovj@chromium.org2012-09-037-26/+301
| | | | | | | | | | BUG=chromium-os:11263 TEST=Manually set the policies in CPanel and observe that no sound is produced/recored on the device. TBR=nirnimesh@chromium.org Review URL: https://chromiumcodereview.appspot.com/10873085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154692 0039d316-1c4b-4281-b951-d872f2087c98
* [FileBrowser] Added 'Open with...' context menu item.zvorygin@chromium.org2012-09-031-0/+2
| | | | | | | | BUG=139524 Review URL: https://chromiumcodereview.appspot.com/10893026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154684 0039d316-1c4b-4281-b951-d872f2087c98
* [filemanager] Add 'Send to Google Drive' file action.dgozman@chromium.org2012-09-031-0/+1
| | | | | | | | BUG=143872 TEST=See bug. Review URL: https://chromiumcodereview.appspot.com/10908032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154683 0039d316-1c4b-4281-b951-d872f2087c98
* Allow storing display preferences per device.mukai@chromium.org2012-09-035-34/+160
| | | | | | | | BUG=137516 Review URL: https://chromiumcodereview.appspot.com/10870036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154671 0039d316-1c4b-4281-b951-d872f2087c98
* Encapsulate Remove operation in its own class.zork@chromium.org2012-09-035-87/+192
| | | | | | | | | | TBR=sky@chromium.org BUG=141753 Review URL: https://chromiumcodereview.appspot.com/10911027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154669 0039d316-1c4b-4281-b951-d872f2087c98
* Switch from SignedSettings to DeviceSettingsService.mnissler@chromium.org2012-09-0139-1068/+725
| | | | | | | | | | | | | | | | | DevicePolicyCache and DeviceSettingsProvider now go through DeviceSettingsService, which provides a unified and simpler API to Chrome OS device settings. BUG=chromium:139126 TEST=Unit tests, everything related to enterprise enrollment and device settings still works. TBR=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154457 Review URL: https://chromiumcodereview.appspot.com/10832035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154625 0039d316-1c4b-4281-b951-d872f2087c98
* Don't try to switch display mode if there is no external displayoshima@chromium.org2012-08-311-0/+8
| | | | | | | | | | Switch to Dual Display in Login screen. BUG=145844,145158 Review URL: https://chromiumcodereview.appspot.com/10899024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154499 0039d316-1c4b-4281-b951-d872f2087c98