Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Side by Side Diff: chrome/test/live_sync/live_apps_sync_test.h

Issue 7104072: Adding new extension sync integration tests. Also modified the way that profile (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: More review changes Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/test/live_sync/live_apps_sync_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_TEST_LIVE_SYNC_LIVE_APPS_SYNC_TEST_H_ 5 #ifndef CHROME_TEST_LIVE_SYNC_LIVE_APPS_SYNC_TEST_H_
6 #define CHROME_TEST_LIVE_SYNC_LIVE_APPS_SYNC_TEST_H_ 6 #define CHROME_TEST_LIVE_SYNC_LIVE_APPS_SYNC_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 23 matching lines...) Expand all
34 // Installs the app for the given index to |profile|. 34 // Installs the app for the given index to |profile|.
35 void InstallApp(Profile* profile, int index); 35 void InstallApp(Profile* profile, int index);
36 36
37 // Uninstalls the app for the given index from |profile|. Assumes that it was 37 // Uninstalls the app for the given index from |profile|. Assumes that it was
38 // previously installed. 38 // previously installed.
39 void UninstallApp(Profile* profile, int index); 39 void UninstallApp(Profile* profile, int index);
40 40
41 // Installs all pending synced apps for |profile|. 41 // Installs all pending synced apps for |profile|.
42 void InstallAppsPendingForSync(Profile* profile); 42 void InstallAppsPendingForSync(Profile* profile);
43 43
44 // Enables the app for the given index on |profile|.
45 void EnableApp(Profile* profile, int index);
46
47 // Disables the appfor the given index on |profile|.
48 void DisableApp(Profile* profile, int index);
49
50 // Enables the app for the given index in incognito mode on |profile|.
51 void IncognitoEnableApp(Profile* profile, int index);
52
53 // Disables the app for the given index in incognito mode on |profile|.
54 void IncognitoDisableApp(Profile* profile, int index);
55
44 private: 56 private:
45 LiveSyncExtensionHelper extension_helper_; 57 LiveSyncExtensionHelper extension_helper_;
46 58
47 DISALLOW_COPY_AND_ASSIGN(LiveAppsSyncTest); 59 DISALLOW_COPY_AND_ASSIGN(LiveAppsSyncTest);
48 }; 60 };
49 61
50 #endif // CHROME_TEST_LIVE_SYNC_LIVE_APPS_SYNC_TEST_H_ 62 #endif // CHROME_TEST_LIVE_SYNC_LIVE_APPS_SYNC_TEST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/test/live_sync/live_apps_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698