/external/chromium/chrome/browser/history/ |
D | history_unittest.cc | 60 namespace history { namespace 67 DISABLE_RUNNABLE_METHOD_REFCOUNT(history::HistoryTest); 69 namespace history { namespace 195 bool QueryURL(HistoryService* history, const GURL& url) { in QueryURL() argument 196 history->QueryURL(url, true, &consumer_, in QueryURL() 220 bool QueryRedirectsFrom(HistoryService* history, const GURL& url) { in QueryRedirectsFrom() argument 221 history->QueryRedirectsFrom(url, &consumer_, in QueryRedirectsFrom() 231 history::RedirectList* redirects) { in OnRedirectQueryComplete() 264 history::RedirectList saved_redirects_; 384 scoped_refptr<HistoryService> history(new HistoryService); in TEST_F() local [all …]
|
D | history.cc | 57 using history::HistoryBackend; 83 history::InMemoryHistoryBackend* backend) OVERRIDE { in SetInMemoryBackend() 91 history::HistoryDetails* details) OVERRIDE { in BroadcastNotifications() 94 Details<history::HistoryDetails> det(details); in BroadcastNotifications() 120 const history::StarID HistoryService::kBookmarkBarID = 1; 217 history::URLDatabase* HistoryService::InMemoryDatabase() { in InMemoryDatabase() 227 history::InMemoryURLIndex* HistoryService::InMemoryIndex() { in InMemoryIndex() 266 new history::GetMostRecentKeywordSearchTermsRequest(callback), in GetMostRecentKeywordSearchTerms() 278 history::HistoryDBTaskRequest* request = new history::HistoryDBTaskRequest( in ScheduleDBTask() 291 consumer, new history::QuerySegmentUsageRequest(callback), in QuerySegmentUsageSince() [all …]
|
D | history.h | 53 namespace history { 77 virtual bool RunOnDBThread(history::HistoryBackend* backend, 78 history::HistoryDatabase* db) = 0; 105 static const history::StarID kBookmarkBarID; 157 history::URLDatabase* InMemoryDatabase(); 160 history::InMemoryURLIndex* InMemoryIndex(); 193 const history::RedirectList& redirects, 194 history::VisitSource visit_source, 205 const history::RedirectList& redirects, 206 history::VisitSource visit_source, [all …]
|
D | starred_url_database.cc | 42 namespace history { namespace 58 entry->type = history::StarredEntry::URL; in FillInStarredEntry() 62 entry->type = history::StarredEntry::BOOKMARK_BAR; in FillInStarredEntry() 65 entry->type = history::StarredEntry::USER_FOLDER; in FillInStarredEntry() 68 entry->type = history::StarredEntry::OTHER; in FillInStarredEntry() 121 history::StarredEntry entry; in GetAllStarredEntries() 126 if (entry.type != history::StarredEntry::URL) in GetAllStarredEntries() 196 (type != history::StarredEntry::URL || url_id)); in CreateStarredEntryRow() 205 case history::StarredEntry::URL: in CreateStarredEntryRow() 208 case history::StarredEntry::BOOKMARK_BAR: in CreateStarredEntryRow() [all …]
|
/external/webkit/Source/WebKit/efl/ewk/ |
D | ewk_history.cpp | 40 #define EWK_HISTORY_CORE_GET_OR_RETURN(history, core_, ...) \ argument 41 if (!(history)) { \ 45 if (!(history)->core) { \ 49 if (!(history)->core->enabled()) { \ 53 WebCore::BackForwardListImpl *core_ = (history)->core 120 Eina_Bool ewk_history_forward(Ewk_History* history) in ewk_history_forward() argument 122 EWK_HISTORY_CORE_GET_OR_RETURN(history, core, EINA_FALSE); in ewk_history_forward() 136 Eina_Bool ewk_history_back(Ewk_History* history) in ewk_history_back() argument 138 EWK_HISTORY_CORE_GET_OR_RETURN(history, core, EINA_FALSE); in ewk_history_back() 157 Eina_Bool ewk_history_history_item_add(Ewk_History* history, const Ewk_History_Item* item) in ewk_history_history_item_add() argument [all …]
|
D | ewk_history.h | 54 EAPI Eina_Bool ewk_history_forward(Ewk_History *history); 55 EAPI Eina_Bool ewk_history_back(Ewk_History *history); 57 EAPI Eina_Bool ewk_history_history_item_add(Ewk_History *history, const Ewk_History_Item *i… 58 EAPI Eina_Bool ewk_history_history_item_set(Ewk_History *history, const Ewk_History_Item *… 59 EAPI Ewk_History_Item *ewk_history_history_item_back_get(const Ewk_History *history); 60 EAPI Ewk_History_Item *ewk_history_history_item_current_get(const Ewk_History *history); 61 EAPI Ewk_History_Item *ewk_history_history_item_forward_get(const Ewk_History *history); 62 EAPI Ewk_History_Item *ewk_history_history_item_nth_get(const Ewk_History *history, int index); 63 EAPI Eina_Bool ewk_history_history_item_contains(const Ewk_History *history, const Ewk_Hist… 65 EAPI Eina_List *ewk_history_forward_list_get(const Ewk_History *history); [all …]
|
/external/chromium/chrome/browser/sync/ |
D | profile_sync_service_typed_url_unittest.cc | 47 using history::HistoryBackend; 48 using history::URLID; 49 using history::URLRow; 78 MOCK_METHOD1(GetAllTypedURLs, bool(std::vector<history::URLRow>* entries)); 79 MOCK_METHOD2(GetVisitsForURL, bool(history::URLID id, 80 history::VisitVector* visits)); 81 MOCK_METHOD2(UpdateURL, bool(history::URLID id, const history::URLRow& url)); 84 history::VisitSource visit_source)); 85 MOCK_METHOD1(RemoveVisits, bool(const history::VisitVector& visits)); 86 MOCK_METHOD2(GetURL, bool(const GURL& url_id, history::URLRow* url_row)); [all …]
|
/external/chromium/chrome/browser/sync/glue/ |
D | typed_url_model_associator_unittest.cc | 18 static history::URLRow MakeTypedUrlRow(const char* url, in MakeTypedUrlRow() 23 history::VisitVector* visits) { in MakeTypedUrlRow() 25 history::URLRow history_url(gurl); in MakeTypedUrlRow() 31 visits->push_back(history::VisitRow( in MakeTypedUrlRow() 51 static bool URLsEqual(history::URLRow& lhs, history::URLRow& rhs) { in URLsEqual() 61 history::VisitVector visits1; in TEST_F() 62 history::URLRow row1(MakeTypedUrlRow("http://pie.com/", "pie", in TEST_F() 67 history::URLRow new_row1(GURL("http://pie.com/")); in TEST_F() 73 history::VisitVector visits2; in TEST_F() 74 history::URLRow row2(MakeTypedUrlRow("http://pie.com/", "pie", in TEST_F() [all …]
|
D | typed_url_model_associator.h | 24 namespace history { 50 typedef std::vector<history::URLRow> TypedUrlVector; 51 typedef std::vector<std::pair<history::URLID, history::URLRow> > 58 history::HistoryBackend* history_backend); 105 const history::VisitVector* deleted_visits); 116 const history::URLRow& url, 117 history::VisitVector* visits, 118 history::URLRow* new_url, 120 static void WriteToSyncNode(const history::URLRow& url, 121 const history::VisitVector& visits, [all …]
|
D | typed_url_change_processor.cc | 22 history::HistoryBackend* history_backend, in TypedUrlChangeProcessor() 57 HandleURLsModified(Details<history::URLsModifiedDetails>(details).ptr()); in Observe() 59 HandleURLsDeleted(Details<history::URLsDeletedDetails>(details).ptr()); in Observe() 61 HandleURLsVisited(Details<history::URLVisitedDetails>(details).ptr()); in Observe() 66 history::URLsModifiedDetails* details) { in HandleURLsModified() 68 std::map<history::URLID, history::VisitVector> visit_vectors; in HandleURLsModified() 69 for (std::vector<history::URLRow>::iterator url = in HandleURLsModified() 91 for (std::vector<history::URLRow>::iterator url = in HandleURLsModified() 96 history::VisitVector& visits = visit_vectors[url->id()]; in HandleURLsModified() 128 history::URLsDeletedDetails* details) { in HandleURLsDeleted() [all …]
|
D | typed_url_change_processor.h | 22 namespace history { 42 history::HistoryBackend* history_backend, 66 void HandleURLsModified(history::URLsModifiedDetails* details); 67 void HandleURLsDeleted(history::URLsDeletedDetails* details); 68 void HandleURLsVisited(history::URLVisitedDetails* details); 76 history::HistoryBackend* history_backend_;
|
D | typed_url_model_associator.cc | 21 history::HistoryBackend* history_backend) in TypedUrlModelAssociator() 37 std::vector<history::URLRow> typed_urls; in AssociateModels() 44 std::map<history::URLID, history::VisitVector> visit_vectors; in AssociateModels() 45 for (std::vector<history::URLRow>::iterator ix = typed_urls.begin(); in AssociateModels() 70 for (std::vector<history::URLRow>::iterator ix = typed_urls.begin(); in AssociateModels() 74 history::VisitVector& visits = visit_vectors[ix->id()]; in AssociateModels() 87 history::URLRow new_url(ix->url()); in AssociateModels() 106 std::pair<history::URLID, history::URLRow>(ix->id(), new_url)); in AssociateModels() 148 history::URLRow new_url(GURL(typed_url.url())); in AssociateModels() 288 const history::VisitVector* deleted_visits) { in WriteToHistoryBackend() [all …]
|
/external/chromium/chrome/browser/autocomplete/ |
D | history_url_provider.h | 18 namespace history { 165 void ExecuteWithDB(history::HistoryBackend* backend, 166 history::URLDatabase* db, 171 void DoAutocomplete(history::HistoryBackend* backend, 172 history::URLDatabase* db, 184 static history::Prefixes GetPrefixes(); 197 static GURL ConvertToHostOnly(const history::HistoryMatch& match, 208 history::URLDatabase* db, 212 history::HistoryMatches* matches); 221 static void EnsureMatchPresent(const history::URLRow& info, [all …]
|
D | history_contents_provider.cc | 32 MatchReference(const history::URLResult* result, int relevance) in MatchReference() 37 const history::URLResult* result; 52 using history::HistoryDatabase; 124 history::QueryResults empty_results; in Start() 135 HistoryService* history = in Start() local 137 if (history) { in Start() 140 history::QueryOptions options; in Start() 143 history->QueryHistory(input.text(), options, in Start() 155 history::QueryResults empty_results; in Stop() 164 history::QueryResults* results) { in QueryComplete() [all …]
|
D | history_quick_provider.h | 19 namespace history { 48 const history::ScoredHistoryMatch& history_match, 63 history::InMemoryURLIndex* GetIndex(); 68 const history::TermMatches& matches, 72 void SetIndexForTesting(history::InMemoryURLIndex* index); 77 scoped_ptr<history::InMemoryURLIndex> index_for_testing_;
|
D | history_url_provider.cc | 32 using history::Prefix; 33 using history::Prefixes; 34 using history::HistoryMatch; 35 using history::HistoryMatches; 37 namespace history { namespace 66 const bool a_is_host_only = history::IsHostOnly(a.url_info.url()); in CompareHistoryMatch() 67 if (a_is_host_only != history::IsHostOnly(b.url_info.url())) in CompareHistoryMatch() 153 void HistoryURLProvider::ExecuteWithDB(history::HistoryBackend* backend, in ExecuteWithDB() 154 history::URLDatabase* db, in ExecuteWithDB() 176 void HistoryURLProvider::DoAutocomplete(history::HistoryBackend* backend, in DoAutocomplete() [all …]
|
D | history_contents_provider.h | 37 history::QueryResults* results); 44 AutocompleteMatch ResultToMatch(const history::URLResult& result, 49 void ClassifyDescription(const history::URLResult& result, 54 int CalculateRelevance(const history::URLResult& result); 81 history::QueryResults results_;
|
/external/protobuf/gtest/test/ |
D | gtest-linked_ptr_test.cc | 44 Message* history = NULL; variable 49 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; } in A() 50 virtual ~A() { *history << "A" << mynum << " dtor\n"; } in ~A() 51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use() 59 B() { *history << "B" << mynum << " ctor\n"; } in B() 60 ~B() { *history << "B" << mynum << " dtor\n"; } in ~B() 61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use() 68 history = new Message; in LinkedPtrTest() 72 delete history; in ~LinkedPtrTest() 73 history = NULL; in ~LinkedPtrTest() [all …]
|
/external/chromium/testing/gtest/test/ |
D | gtest-linked_ptr_test.cc | 44 Message* history = NULL; variable 49 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; } in A() 50 virtual ~A() { *history << "A" << mynum << " dtor\n"; } in ~A() 51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use() 59 B() { *history << "B" << mynum << " ctor\n"; } in B() 60 ~B() { *history << "B" << mynum << " dtor\n"; } in ~B() 61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use() 68 history = new Message; in LinkedPtrTest() 72 delete history; in ~LinkedPtrTest() 73 history = NULL; in ~LinkedPtrTest() [all …]
|
/external/libvpx/libvpx/third_party/googletest/src/test/ |
D | gtest-linked_ptr_test.cc | 44 Message* history = NULL; variable 49 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; } in A() 50 virtual ~A() { *history << "A" << mynum << " dtor\n"; } in ~A() 51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use() 59 B() { *history << "B" << mynum << " ctor\n"; } in B() 60 ~B() { *history << "B" << mynum << " dtor\n"; } in ~B() 61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use() 68 history = new Message; in LinkedPtrTest() 72 delete history; in ~LinkedPtrTest() 73 history = NULL; in ~LinkedPtrTest() [all …]
|
/external/gtest/test/ |
D | gtest-linked_ptr_test.cc | 44 Message* history = NULL; variable 49 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; } in A() 50 virtual ~A() { *history << "A" << mynum << " dtor\n"; } in ~A() 51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use() 59 B() { *history << "B" << mynum << " ctor\n"; } in B() 60 ~B() { *history << "B" << mynum << " dtor\n"; } in ~B() 61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use() 68 history = new Message; in LinkedPtrTest() 72 delete history; in ~LinkedPtrTest() 73 history = NULL; in ~LinkedPtrTest() [all …]
|
/external/chromium/chrome/browser/ |
D | favicon_helper.cc | 27 history::IconType ToHistoryIconType(FaviconURL::IconType icon_type) { in ToHistoryIconType() 30 return history::FAVICON; in ToHistoryIconType() 32 return history::TOUCH_ICON; in ToHistoryIconType() 34 return history::TOUCH_PRECOMPOSED_ICON; in ToHistoryIconType() 36 return history::INVALID_ICON; in ToHistoryIconType() 40 return history::INVALID_ICON; in ToHistoryIconType() 45 history::IconType icon_type) { in DoUrlAndIconMatch() 54 icon_type(history::INVALID_ICON) { in DownloadRequest() 60 history::IconType icon_type) in DownloadRequest() 71 icon_types_(icon_type == FAVICON ? history::FAVICON : in FaviconHelper() [all …]
|
D | favicon_helper.h | 93 history::IconType icon_type, 116 history::IconType icon_type, 122 history::IconType icon_type, 135 history::IconType icon_type); 151 history::IconType icon_type); 156 history::IconType icon_type; 169 history::FaviconData favicon); 176 history::IconType icon_type); 180 history::FaviconData favicon); 187 history::IconType icon_type, [all …]
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8HistoryCustom.cpp | 63 History* history = V8History::toNative(args.Holder()); in pushStateCallback() local 64 history->stateObjectAdded(historyState.release(), title, url, History::StateObjectPush, ec); in pushStateCallback() 87 History* history = V8History::toNative(args.Holder()); in replaceStateCallback() local 88 history->stateObjectAdded(historyState.release(), title, url, History::StateObjectReplace, ec); in replaceStateCallback() 95 History* history = V8History::toNative(host); in indexedSecurityCheck() local 96 return V8BindingSecurity::canAccessFrame(V8BindingState::Only(), history->frame(), false); in indexedSecurityCheck() 102 History* history = V8History::toNative(host); in namedSecurityCheck() local 103 return V8BindingSecurity::canAccessFrame(V8BindingState::Only(), history->frame(), false); in namedSecurityCheck()
|
/external/chromium/base/memory/ |
D | linked_ptr_unittest.cc | 15 std::string history; variable 19 A(): mynum(num++) { history += base::StringPrintf("A%d ctor\n", mynum); } in A() 20 virtual ~A() { history += base::StringPrintf("A%d dtor\n", mynum); } in ~A() 21 virtual void Use() { history += base::StringPrintf("A%d use\n", mynum); } in Use() 27 B() { history += base::StringPrintf("B%d ctor\n", mynum); } in B() 28 ~B() { history += base::StringPrintf("B%d dtor\n", mynum); } in ~B() 29 virtual void Use() { history += base::StringPrintf("B%d use\n", mynum); } in Use() 86 ASSERT_EQ(history, in TEST()
|