Searched refs:guid (Results 1 - 25 of 79) sorted by relevance

1234

/external/chromium/chrome/common/
H A Dguid.cc5 #include "chrome/common/guid.h"
10 namespace guid { namespace
12 bool IsValidGUID(const std::string& guid) { argument
14 if (guid.length() != kGUIDLength)
18 for (uint32 i = 0; i < guid.length(); ++i) {
19 char current = guid[i];
32 } // namespace guid
H A Dguid.h14 namespace guid { namespace
23 bool IsValidGUID(const std::string& guid);
30 } // namespace guid
H A Dguid_unittest.cc5 #include "chrome/common/guid.h"
14 std::string clientid = guid::RandomDataToGUIDString(bytes);
20 std::string clientid = guid::RandomDataToGUIDString(bytes);
28 std::string guid = guid::GenerateGUID(); local
29 EXPECT_TRUE(guid::IsValidGUID(guid));
36 std::string guid1 = guid::GenerateGUID();
37 std::string guid2 = guid::GenerateGUID();
H A Dguid_win.cc5 #include "chrome/common/guid.h"
17 namespace guid { namespace
22 GUID guid; local
23 HRESULT guid_result = CoCreateGuid(&guid);
29 int result = StringFromGUID2(guid,
38 } // namespace guid
H A Dguid_posix.cc5 #include "chrome/common/guid.h"
10 namespace guid { namespace
28 } // namespace guid
/external/chromium/chrome/browser/resources/options/
H A Dautofill_options.js126 * Removes the Autofill address represented by |guid|.
127 * @param {String} guid The GUID of the address to remove.
130 removeAddress_: function(guid) {
131 chrome.send('removeAddress', [guid]);
135 * Removes the Autofill credit card represented by |guid|.
136 * @param {String} guid The GUID of the credit card to remove.
139 removeCreditCard_: function(guid) {
140 chrome.send('removeCreditCard', [guid]);
144 * Requests profile data for the address represented by |guid| from the
147 * @param {String} guid Th
[all...]
H A Dautofill_edit_address_overlay.js10 var guid;
45 self.guid = '';
103 this.guid = '';
114 address[0] = this.guid;
266 this.guid = address['guid'];
/external/chromium/chrome/browser/sync/glue/
H A Dautofill_profile_change_processor.cc21 #include "chrome/common/guid.h"
183 autofill_changes_[i].profile_specifics_.guid())) {
185 autofill_changes_[i].profile_specifics_.guid();
216 if (guid::IsValidGUID(profile_specifics.guid()) == false) {
218 profile_specifics.guid();
221 AutofillProfile p(profile_specifics.guid());
225 LOG(ERROR) << "could not add autofill profile for guid " << p.guid();
230 std::string guid local
262 RemoveSyncNode(const std::string& guid, sync_api::WriteTransaction* trans) argument
285 std::string guid = profile.guid(); local
[all...]
H A Dautofill_profile_model_associator.cc12 #include "chrome/common/guid.h"
67 << p->guid();
79 std::string guid((*ix)->guid());
80 if (guid::IsValidGUID(guid) == false) {
81 DCHECK(false) << "Guid in the web db is invalid " << guid;
86 if (node.InitByClientTagLookup(syncable::AUTOFILL_PROFILE, guid) &&
90 current_profiles->find(guid) == current_profiles->end()) {
95 << (*ix)->guid()
321 std::string guid = autofill_specifics.guid(); local
352 std::string guid = profile.guid(); local
[all...]
H A Dautofill_profile_model_associator_unittest.cc98 std::string guid = "EDC609ED-7EEE-4F27-B00C-423242A9C44B"; local
105 profile_specifics->set_guid(guid);
111 AutofillProfile *profile = new AutofillProfile(guid);
124 EXPECT_CALL(associator_, Associate(Pointee(guid), 1));
150 std::string guid = "EDC609ED-7EEE-4F27-B00C-423242A9C44A"; local
152 AutofillProfile *profile = new AutofillProfile(guid);
219 std::string guid = "EDC609ED-7EEE-4F27-B00C-423242A9C44C"; local
223 profile_specifics.set_guid(guid);
225 bundle.current_profiles.insert(guid);
237 std::string guid local
[all...]
H A Dautofill_change_processor.cc21 #include "chrome/common/guid.h"
344 std::string guid(guid::GenerateGUID());
345 if (guid::IsValidGUID(guid) == false) {
346 DCHECK(false) << "Guid generated is invalid " << guid;
350 p->set_guid(guid);
354 NOTREACHED() << "Couldn't add autofill profile: " << guid;
357 model_associator_->Associate(&guid, sync_id);
361 const std::string* guid local
394 const std::string *guid = model_associator_->GetChromeNodeFromSyncId(sync_id); local
[all...]
H A Dautofill_model_associator.cc23 #include "chrome/common/guid.h"
306 static std::string guid(guid::GenerateGUID());
308 p.set_guid(guid);
359 std::string guid = profile_in_web_db->guid(); local
360 Associate(&guid, sync_id);
365 std::string guid = guid::GenerateGUID(); local
366 if (guid
[all...]
/external/chromium/chrome/browser/webdata/
H A Dautofill_change.cc21 DCHECK(type == ADD ? (profile && profile->guid() == key) : true);
22 DCHECK(type == UPDATE ? (profile && profile->guid() == key) : true);
39 DCHECK(type == ADD ? (credit_card && credit_card->guid() == key) : true);
40 DCHECK(type == UPDATE ? (credit_card && credit_card->guid() == key) : true);
H A Dautofill_table.cc26 #include "chrome/common/guid.h"
62 DCHECK(guid::IsValidGUID(profile.guid()));
63 s->BindString(0, profile.guid());
87 DCHECK(guid::IsValidGUID(profile->guid()));
104 DCHECK(guid::IsValidGUID(credit_card.guid()));
105 s->BindString(0, credit_card.guid());
125 DCHECK(guid
354 RemoveAutofillProfilePieces(const std::string& guid, sql::Connection* db) argument
915 GetAutofillProfile(const std::string& guid, AutofillProfile** profile) argument
968 std::string guid = s.ColumnString(0); local
1059 RemoveAutofillProfile(const std::string& guid) argument
1158 GetCreditCard(const std::string& guid, CreditCard** credit_card) argument
1194 std::string guid = s.ColumnString(0); local
1233 RemoveCreditCard(const std::string& guid) argument
1271 std::string guid = s_profiles_get.ColumnString(0); local
1306 std::string guid = s_credit_cards_get.ColumnString(0); local
1344 std::string guid = s.ColumnString(0); local
1378 AddAutofillGUIDToTrash(const std::string& guid) argument
1408 IsAutofillGUIDInTrash(const std::string& guid) argument
2101 std::string guid = s.ColumnString(0); local
[all...]
H A Dautofill_table_unittest.cc21 #include "chrome/common/guid.h"
679 home_profile.guid(), &db_profile));
683 "FROM autofill_profiles WHERE guid=?"));
684 s_home.BindString(0, home_profile.guid());
694 billing_profile.set_guid(guid::GenerateGUID());
705 billing_profile.guid(), &db_profile));
708 "SELECT date_modified FROM autofill_profiles WHERE guid=?"));
709 s_billing.BindString(0, billing_profile.guid());
724 billing_profile.guid(), &db_profile));
727 "SELECT date_modified FROM autofill_profiles WHERE guid
[all...]
H A Dautofill_table.h49 // guid A guid string to uniquely identify the profile.
67 // guid The guid string that identifies the profile to which
77 // guid The guid string that identifies the profile to which
85 // guid The guid string that identifies the profile to which
93 // profiles. When a profile is removed its guid is added
96 // guid Th
[all...]
/external/chromium/chrome/browser/ui/webui/options/
H A Dautofill_options_handler.cc19 #include "chrome/common/guid.h"
255 entry->Append(new StringValue((*i)->guid()));
267 entry->Append(new StringValue((*i)->guid()));
283 std::string guid; local
284 if (!args->GetString(0, &guid)) {
289 personal_data_->RemoveProfile(guid);
295 std::string guid; local
296 if (!args->GetString(0, &guid)) {
301 personal_data_->RemoveCreditCard(guid);
307 std::string guid; local
348 std::string guid; local
[all...]
/external/chromium/chrome/browser/autofill/
H A Dcredit_card.h20 explicit CreditCard(const std::string& guid);
46 // The guid is the primary identifier for |CreditCard| objects.
47 const std::string guid() const { return guid_; } function in class:CreditCard
48 void set_guid(const std::string& guid) { guid_ = guid; } argument
126 // The guid of this credit card.
H A Dautofill_profile.h37 explicit AutofillProfile(const std::string& guid);
67 // This guid is the primary identifier for |AutofillProfile| objects.
68 const std::string guid() const { return guid_; } function in class:AutofillProfile
69 void set_guid(const std::string& guid) { guid_ = guid; } argument
164 // The guid of this profile.
H A Dpersonal_data_manager.cc40 explicit FormGroupMatchesByGUIDFunctor(const std::string& guid) argument
41 : guid_(guid) {
45 return form_group.guid() == guid_;
49 return form_group->guid() == guid_;
57 bool FindByGUID(const C& container, const std::string& guid) { argument
61 FormGroupMatchesByGUIDFunctor<T>(guid)) != container.end();
378 if (!FindByGUID<AutofillProfile>(*profiles, (*iter)->guid()))
379 wds->RemoveAutofillProfile((*iter)->guid());
385 if (FindByGUID<AutofillProfile>(web_profiles_, iter->guid()))
392 if (!FindByGUID<AutofillProfile>(web_profiles_, iter->guid())
506 RemoveProfile(const std::string& guid) argument
522 GetProfileByGUID( const std::string& guid) argument
564 RemoveCreditCard(const std::string& guid) argument
580 GetCreditCardByGUID(const std::string& guid) argument
[all...]
H A Dautofill_common_test.cc56 const char* guid, const char* first_name, const char* middle_name,
61 if (guid)
62 profile->set_guid(guid);
55 SetProfileInfoWithGuid(AutofillProfile* profile, const char* guid, const char* first_name, const char* middle_name, const char* last_name, const char* email, const char* company, const char* address1, const char* address2, const char* city, const char* state, const char* zipcode, const char* country, const char* phone, const char* fax) argument
H A Dautofill_common_test.h38 const char* guid, const char* first_name, const char* middle_name,
H A Dpersonal_data_manager.h111 // Removes the profile represented by |guid|.
112 void RemoveProfile(const std::string& guid);
114 // Returns the profile with the specified |guid|, or NULL if there is no
115 // profile with the specified |guid|.
116 AutofillProfile* GetProfileByGUID(const std::string& guid);
124 // Removes the credit card represented by |guid|.
125 void RemoveCreditCard(const std::string& guid);
127 // Returns the credit card with the specified |guid|, or NULL if there is
128 // no credit card with the specified |guid|.
129 CreditCard* GetCreditCardByGUID(const std::string& guid);
[all...]
/external/chromium/chrome/browser/
H A Dcrash_handler_host_linux.cc52 delete[] info->guid;
127 char* guid = new char[kGuidSize + 1]; local
145 iov[1].iov_base = guid;
286 guid[kGuidSize] = crash_url[kMaxActiveURLSize] = distro[kDistroSize] = 0;
300 info->guid_length = strlen(guid);
301 info->guid = guid;
/external/webkit/Source/WebCore/storage/
H A DAbstractDatabase.cpp94 // FIXME: move all guid-related functions to a DatabaseVersionTracker class.
112 static inline void updateGuidVersionMap(int guid, String newVersion) argument
124 guidToVersionMap().set(guid, newVersion.isEmpty() ? String() : newVersion.threadsafeCopy());
145 int guid = stringIdentifierToGUIDMap.get(stringID); local
146 if (!guid) {
148 guid = currentNewGUID++;
149 stringIdentifierToGUIDMap.set(stringID, guid);
152 return guid;
265 LOG(StorageAPI, "Current cached version for guid %i is %s", m_guid, currentVersion.ascii().data());
267 LOG(StorageAPI, "No cached version for guid
[all...]

Completed in 279 milliseconds

1234