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

Unified Diff: chrome/browser/mock_browsing_data_server_bound_cert_helper.h

Issue 10805015: Move browsing_data_helper files into a separate directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chrome_frame build Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/mock_browsing_data_server_bound_cert_helper.h
diff --git a/chrome/browser/mock_browsing_data_server_bound_cert_helper.h b/chrome/browser/mock_browsing_data_server_bound_cert_helper.h
deleted file mode 100644
index fd693b1267eca1055f5c21b2cd3b176500f69102..0000000000000000000000000000000000000000
--- a/chrome/browser/mock_browsing_data_server_bound_cert_helper.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_MOCK_BROWSING_DATA_SERVER_BOUND_CERT_HELPER_H_
-#define CHROME_BROWSER_MOCK_BROWSING_DATA_SERVER_BOUND_CERT_HELPER_H_
-
-#include <map>
-#include <string>
-
-#include "chrome/browser/browsing_data_server_bound_cert_helper.h"
-
-// Mock for BrowsingDataServerBoundCertHelper.
-class MockBrowsingDataServerBoundCertHelper
- : public BrowsingDataServerBoundCertHelper {
- public:
- explicit MockBrowsingDataServerBoundCertHelper();
-
- // BrowsingDataServerBoundCertHelper methods.
- virtual void StartFetching(const FetchResultCallback& callback) OVERRIDE;
- virtual void DeleteServerBoundCert(const std::string& server_id) OVERRIDE;
-
- // Adds a server_bound_cert sample.
- void AddServerBoundCertSample(const std::string& server_id);
-
- // Notifies the callback.
- void Notify();
-
- // Marks all server_bound_certs as existing.
- void Reset();
-
- // Returns true if all server_bound_certs since the last Reset() invocation
- // were deleted.
- bool AllDeleted();
-
- private:
- virtual ~MockBrowsingDataServerBoundCertHelper();
-
- FetchResultCallback callback_;
-
- net::ServerBoundCertStore::ServerBoundCertList server_bound_cert_list_;
-
- // Stores which server_bound_certs exist.
- std::map<const std::string, bool> server_bound_certs_;
-};
-
-#endif // CHROME_BROWSER_MOCK_BROWSING_DATA_SERVER_BOUND_CERT_HELPER_H_
« no previous file with comments | « chrome/browser/mock_browsing_data_quota_helper.cc ('k') | chrome/browser/mock_browsing_data_server_bound_cert_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698