Lines Matching refs:profile
19 // Returns true iff the profile with index |index| has the same extensions
30 // Installs the extension for the given index to |profile|, and returns the
32 std::string InstallExtension(Profile* profile, int index);
38 // Uninstalls the extension for the given index from |profile|. Assumes that
40 void UninstallExtension(Profile* profile, int index);
43 // test extensions on |profile|.
44 std::vector<int> GetInstalledExtensions(Profile* profile);
46 // Installs all pending synced extensions for |profile|.
47 void InstallExtensionsPendingForSync(Profile* profile);
49 // Enables the extension for the given index on |profile|.
50 void EnableExtension(Profile* profile, int index);
52 // Disables the extension for the given index on |profile|.
53 void DisableExtension(Profile* profile, int index);
55 // Returns true if the extension with index |index| is enabled on |profile|.
56 bool IsExtensionEnabled(Profile* profile, int index);
58 // Enables the extension for the given index in incognito mode on |profile|.
59 void IncognitoEnableExtension(Profile* profile, int index);
61 // Disables the extension for the given index in incognito mode on |profile|.
62 void IncognitoDisableExtension(Profile* profile, int index);
65 // mode on |profile|.
66 bool IsIncognitoEnabled(Profile* profile, int index);