| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This was causing remoting_unittests to fail in Release builds.
BUG=297970
TBR=rmsousa@chromium.org
Review URL: https://codereview.chromium.org/24620002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225201 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL factors the OAuth flows away from oauth2.js. oauth2_api.js consists of OAuth2 apis, that can be called from anywhere in our code (appsv1 or appsv2) without side effects in the main app authentication state.
The logic to keep track of authentication state, make api calls with tokens, refresh tokens as necessary, etc remains in oauth2.js (appsv1) and identity.js (appsv2).
This also cleans up the existing codepaths - it consolidates the getEmail implementations, the XHR error handling, and provides a more uniform API (call the OAuth API with on<Response>, onError, parameters, receive on<Response>(<Response>) callback asynchronously).
BUG=
Review URL: https://chromiumcodereview.appspot.com/21111004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214895 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This simplifies the task of adding new Apps V2 functionality and should reduce the need to update the patch when JS changes are made.
The change is mostly mechanical, with the exception of a couple of places where the code being patched was run before remoting.init, which is where I've put the isAppsV2 initialization. Since order of execution of code defined at top-level in Javascript is a tricky topic, I've removed most of it, leaving just a 'load' event listener, which is the recommended approach.
BUG=134213
R=lambroslambrou@chromium.org
Review URL: https://codereview.chromium.org/19522007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213679 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL implements the HTML UI for displaying and revoking pairings. It was
previously part of https://chromiumcodereview.appspot.com/18225004, but most
of that has now been landed as separate CLs.
BUG=156182
Review URL: https://chromiumcodereview.appspot.com/19824003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213161 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=156182
Review URL: https://chromiumcodereview.appspot.com/19116006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212036 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
References to remoting.storage have been updated to point to
chrome.storage.
BUG=222785
TEST=Verify webapp preferences persist, no jscompile errors.
R=jamiewalch@chromium.org
Review URL: https://codereview.chromium.org/17385017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207123 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=237912
Review URL: https://chromiumcodereview.appspot.com/14803010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203912 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add HostDispatcher class which tries to initialize
NativeMessaging, falling back to the NPAPI plugin if
NativeMessaging is unsupported. The HostController makes
all Me2Me requests via this new class, which dispatches
them to the NativeMessaging host or the NPAPI plugin. If
support status is not yet known (the test is asynchronous),
the request is added to a pending queue, and is dispatched
when the status has been determined.
BUG=173509
Review URL: https://chromiumcodereview.appspot.com/14780005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199035 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds GetState() to the JS Native Messaging interface,
and refactors the HostController to use it instead of the
NPAPI plugin's "State" field member. The NPAPI plugin is
supported via a new wrapper class.
BUG=173509
Review URL: https://chromiumcodereview.appspot.com/13323009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191749 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
The butter-bar is shown until the user either closes it with the X icon or begins the survey. Once dismissed, a cookie is stored in sync storage to prevent it showing up again for that user on another computer (note that this uses Chrome Sync, so it relies on them being signed in to Chrome).
BUG=191368
Review URL: https://codereview.chromium.org/12566035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189854 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is just the webapp part of the implementation. A followup CL will
build a Native Messaging executable, which will allow end-to-end
testing.
BUG=173509
TEST=Manual, using a simple Python script based on the Native Messaging example code.
Review URL: https://chromiumcodereview.appspot.com/12248011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188956 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Out-of-date hosts can be identified from the hostVersion field in the directory.
They are identified in the host-list using the existing "warning" icon overlaid
on the host icon. Off-line hosts are never flagged as out-of-date, as this may
not indicate a problem (if they have been off-line for a long time). Attempting
to connect to an out-of-date host shows a warning interstitial explaining that
a manual update is required (and can be done while connected).
The CL also cleans up the HostTableEntry class, better separating the duties of
the ctor, create (now createDom) and init methods.
BUG=177122
Review URL: https://chromiumcodereview.appspot.com/12342024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185274 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
client_screen.js is a bit of a mixed bag of functions with only a loose
common theme. This CL pulls out the largest single feature, connection setup,
into a separate class, eliminating lots of global state as a result.
As a side-effect, it speeds up connections by parallelizing the WCS driver load
and fixes the referenced bugs.
BUG=173788,174113
Review URL: https://chromiumcodereview.appspot.com/12177003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181187 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=170285
Review URL: https://chromiumcodereview.appspot.com/12211003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180918 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This broke the error handling path.
BUG=134213
Review URL: https://chromiumcodereview.appspot.com/12091112
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180298 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, several JS files don't even have the basic "load" smoke-test
since they rely on globals not defined in the test environment. This CL
defines these globals so that they can be included in the basic test.
Review URL: https://chromiumcodereview.appspot.com/12087070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179576 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This involves the following:
1. Removing chrome extension API calls from wcs.js and wcs_loader.js.
2. Moving those files into a separate <iframe> sandbox.
3. Adding a postMessage-based API to communicate with the rest of the code.
4. Working around miscellaneous sandbox restrictions.
BUG=134213
Review URL: https://chromiumcodereview.appspot.com/12021029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179413 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This is a revised version of crrev.com/11109017 which caused issues on the
CrOS bots.
Review URL: https://chromiumcodereview.appspot.com/11668011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174888 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This just verifies that our JS files load without generating any console
errors.
Review URL: https://chromiumcodereview.appspot.com/11109017
TBR=garykac@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161685 0039d316-1c4b-4281-b951-d872f2087c98
|
|
This just verifies that our JS files load without generating any console
errors.
Review URL: https://chromiumcodereview.appspot.com/11109017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161680 0039d316-1c4b-4281-b951-d872f2087c98
|