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

Unified Diff: components/browser_sync/profile_sync_service_mock.h

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 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: components/browser_sync/profile_sync_service_mock.h
diff --git a/components/browser_sync/browser/profile_sync_service_mock.h b/components/browser_sync/profile_sync_service_mock.h
similarity index 86%
rename from components/browser_sync/browser/profile_sync_service_mock.h
rename to components/browser_sync/profile_sync_service_mock.h
index 33910f3747dec5622bad0178e3a353792a8d6d26..9d88507586fd77fa790c81ea1593299c12f54234 100644
--- a/components/browser_sync/browser/profile_sync_service_mock.h
+++ b/components/browser_sync/profile_sync_service_mock.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
-#define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
+#ifndef COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_
+#define COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_
#include <string>
#include <vector>
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
-#include "components/browser_sync/browser/profile_sync_service.h"
+#include "components/browser_sync/profile_sync_service.h"
#include "components/sync/base/model_type.h"
#include "components/sync/device_info/device_info.h"
#include "components/sync/driver/change_processor.h"
@@ -31,19 +31,19 @@ class ProfileSyncServiceMock : public ProfileSyncService {
virtual ~ProfileSyncServiceMock();
- MOCK_METHOD4(OnBackendInitialized,
+ MOCK_METHOD4(
+ OnBackendInitialized,
void(const syncer::WeakHandle<syncer::JsBackend>&,
const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&,
const std::string&,
bool));
MOCK_METHOD0(OnSyncCycleCompleted, void());
MOCK_METHOD2(OnUserChoseDatatypes,
- void(bool sync_everything,
- syncer::ModelTypeSet chosen_types));
+ void(bool sync_everything, syncer::ModelTypeSet chosen_types));
MOCK_METHOD2(OnUnrecoverableError,
void(const tracked_objects::Location& location,
- const std::string& message));
+ const std::string& message));
MOCK_CONST_METHOD0(GetUserShare, syncer::UserShare*());
MOCK_METHOD0(RequestStart, void());
MOCK_METHOD1(RequestStop, void(ProfileSyncService::SyncStopDataFate));
@@ -92,10 +92,10 @@ class ProfileSyncServiceMock : public ProfileSyncService {
MOCK_CONST_METHOD0(GetExplicitPassphraseTime, base::Time());
MOCK_METHOD1(SetDecryptionPassphrase, bool(const std::string& passphrase));
- MOCK_METHOD2(SetEncryptionPassphrase, void(const std::string& passphrase,
- PassphraseType type));
+ MOCK_METHOD2(SetEncryptionPassphrase,
+ void(const std::string& passphrase, PassphraseType type));
MOCK_METHOD0(OnSetupInProgressHandleDestroyed, void());
};
-#endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
+#endif // COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_

Powered by Google App Engine
This is Rietveld 408576698